Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
72ndAirhacksQ&A.md

Ask questions and see you at March, 2nd, 8.PM. CET: https://vimeo.com/event/19368

Also checkout recent episode:

71st airhacks.tv

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

@yeahservice
Copy link

yeahservice commented Mar 2, 2020

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