-
In Spring I'm able to set the Hibernate Module so when the objects get marshalled to json in the controller it doesn't force a lazy fetch by doing this following:
I tried to do this in Quarkus by doing the following:
I see my log message but I still get lazy loading errors. I found this ( #4644 ) but was wondering if there is a workaround or another way to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question here.
Seems as though the Hibernate5Module plays nicer with Field level visibility vs Getter. |
Beta Was this translation helpful? Give feedback.
Answering my own question here.
I was able to get this working by doing the following:
Seems as though the Hibernate5Module plays nicer with Field level visibility vs Getter.