Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Grails application with embedded jars using hibernate  RSS feed

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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!