[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate: failed if the models package in different JAR

ericmacau do-not-reply at jboss.com
Tue Sep 12 05:44:41 EDT 2006


I found that it only not worked in Annotated classes.

If I used hbm.xml, it works.

And I have to add some mapping into the hibernate.cfg.xml:




But I tried to add the Annotated in the hibernate.cfg.xml, it didn't worked.

What can I do if I really want to use Annotated classes and require to pack them into different JARs ?

Best regards,
Eric


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

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



More information about the jboss-user mailing list