[jboss-user] [JBoss Tools (users)] - Re: How to configure Hibernate console with entities in many

epbernard do-not-reply at jboss.com
Mon Oct 20 17:16:28 EDT 2008

Can you try to not give them the same name. If these are supposed to be the same PU, why several files. If they are supposed to be different PU, why the same name :)

Anyway I don't think it's related to your problem.
One way to work around it is to manually list the classes in persistence.xml

That way the auto discovery mechanism is bypassed.

Generally speaking if entities are not stored in the same root directory as META-INF/persistence.xml, the discovery mechanism will miss them.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183351#4183351

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183351

More information about the jboss-user mailing list