khalil haddad Messages: 12 Registered: November 2012
Junior Member
Hello everyone!
The question is in the title
I have some dynamic entities and I want to have named query on them.
The problem is that my dynamic entities are created after my spring context is fully loaded so EclipseLink does not know them at startup.
Is there a way to create dynamic entities at startup before compilation of the named queries?
I tried to look at Session customizers but I didn't find how to get an entity manager from a session.