Skip to content

Instantly share code, notes, and snippets.

Created February 7, 2020 18:13
What would you like to do?

Ask questions and see you at March, 2nd, 8.PM. CET:

Also checkout recent episode:


Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

Copy link

Hi Adam

  1. We are currently migrating a Jakarta 8 Application to Quarkus and we are using JPA Entities directly for JSON Serialization in the endpoints. The resteasy jsonb extensions has a problem with serializing Fetchtype.LAZY, although the request has a transaction. The following exception is thrown:

    Caused by: org.hibernate.LazyInitializationException: Unable to perform requested lazy initialization [com.entity.Group.users] - no session and settings disallow loading outside the Session

    We already tried some workarounds with Hibernate.Initialize but they did not work. Is there a way to get the serialization working with lazy fetching?

  2. What is the best practice to develop two or more quarkus applications at the same time, since starting two instances at the same time does not seem possible. Is using a docker container for each quarkus application the recommended way and is there a good way to set it up with hot reload?

Thanks and greetings from Graz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment