-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Pesistence unit in muliple ejb3 files
PostPosted: Fri May 12, 2006 6:05 pm 
Newbie

Joined: Fri May 12, 2006 6:04 pm
Posts: 2
I have file entities1.ejb3 that contains several annoted entities. I have another file, entities2.ejb3 that contains more entites. I need them to be deployed within the same persistence unit.

I thought that if I put both .ejb3 files within the same ear, then put my persistence.xml in the META-INF of the ear, then it would be able to find all of my entities. This does not seem to be working.

Does someone know how to get this to work, or can someone point me to some documentation or examples? I have read the spec but apparently i am not getting it.

thanks,

Bo


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.