Replies: 2 comments 3 replies
-
long time since asked, and no answers. I am looking into using quarkus to avoid spring-boot, but this is concerning. |
Beta Was this translation helpful? Give feedback.
3 replies
-
If you don't need Quarkus itself in a library module, just depend on the JPA API, for instance. Or the Just make sure the library module is properly indexed with Jandex. See my answer on StackOverflow for the details: https://stackoverflow.com/a/55513723/5043585 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to split my monolith to modules,1 of them as library with some common hibernate classes where EntityManager is injected.
But I don't want this module to initialize database connection or EntityManager and provide all of them from other modules where this module will be added as library. But if they are not initialized,then I fail with unsatisfied dependency for EntityManager at build time.
Can I somehow disable EntityManager lookup as bean for injection or create some dummy EntityManager only for build time? Or is there any other solution?
Beta Was this translation helpful? Give feedback.
All reactions