Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Grails application with embedded jars using hibernate

Felipe Pereira Souza
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 will give me the powers of the gods. Not bad for a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!