This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Groovy and the fly likes Grails application with embedded jars using hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Grails application with embedded jars using hibernate" Watch "Grails application with embedded jars using hibernate" New topic
Author

Grails application with embedded jars using hibernate

Felipe Pereira Souza
Greenhorn

Joined: Mar 02, 2014
Posts: 1
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Grails application with embedded jars using hibernate
 
Similar Threads
Grails/STS with Eclipse -- installation help
GRAILS:A Beginner
Deploy javax.xml.endpoint in a jar in J2EE container
NoClassDefFoundError:
Executable jar app doesn't find Driver