Grails application with embedded jars using hibernate
Felipe Pereira Souza
posted 2 years ago
I have an web application in Grails, that is running pretty well. But I have a problem that two other jars projects I need to embed in my application have hibernate programatically configuration.
The problem is that embedding this jars my web app is getting the entities of the jar's and updating their schema in the database, and the other and higher problem is that the jar's couldn't instantiating the entities, because they are giving me a " org.hibernate.MappingException: Unknown entity: ..."
Anyone had this problem yet? What is the good solution in this case?