hi all, i had already problem like this and my mistake was that i hadn't  
unitname in the persistance.xml file 
i think if u must add this in u your persistance.xml 


  |     <persistence-unit name="Blah1" transaction-type="JTA">
  |             <jta-data-source>java:/XAOracleDS</jta-data-source>
  |             <class>com.magti.businesslayer.ejb3entity.oracle.Test</class>
  |             <properties>                    
  |              [props]
  |             </properties>
  |     </persistence-unit>     
  | 
  | 
in second persistanc.xml

  |     <persistence-unit name="Blah2" transaction-type="JTA">
  |             <jta-data-source>java:/XAOracleDS</jta-data-source>
  |             <class>com.magti.businesslayer.ejb3entity.oracle.Test</class>
  |             <properties>                    
  |              [props]
  |             </properties>
  |     </persistence-unit>     
  | 
  | 

u also could put more then one persistance unit in one persistance.xml file

  |     <persistence-unit name="Blah1" transaction-type="JTA">
  |             <jta-data-source>java:/XAOracleDS</jta-data-source>
  |             <class>com.magti.businesslayer.ejb3entity.oracle.Test</class>
  |             <properties>                    
  |              [props]
  |             </properties>
  |     </persistence-unit>     
  |     <persistence-unit name="Blah2" transaction-type="JTA">
  |             <jta-data-source>java:/XAOracleDS</jta-data-source>
  |             <class>com.magti.businesslayer.ejb3entity.oracle.Test</class>
  |             <properties>                    
  |              [props]
  |             </properties>
  |     </persistence-unit>     
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964849
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to