In your persistence.xml set following properties
| <persistence>
| <persistence-unit name="unit1">
| ...
| <exclude-unlisted-classes>true</exclude-unlisted-classes>
| <class>entityBean1</class>
| <class>entityBean2</class>
| ...
| </persistence-unit>
| <persistence-unit name="unit2">
| ...
| <exclude-unlisted-classes>true</exclude-unlisted-classes>
| <class>entityBean3</class>
| <class>entityBean4</class>
| ...
| </persistence-unit>
|
| </persistence>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050071#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...