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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...