[jboss-user] [JBoss Seam] - multiple persistence units?

2007-09-05 Thread binabik
hi, this may seem like a weird thing to do, but when using multiple persistence-units, how do you declare which entities go with which persistence-unit? can this only be done by declaring subelements to the persistence-unit in persistence.xml or is there an annotation that can be applied to

[jboss-user] [JBoss Seam] - multiple persistence

2007-07-18 Thread yoav200
Hello, i have a webapp build with seam, ejb3 and JSF on jboss. i deploy it as ear archive that contain a war and some jar files. few jars has persistence entities (all on same DB). what i did is put persistence.xml in all jars that has entities, in all persistence i call the same factory. in