JBoss Community

Re: JBoss5.1.0 + JPA = Object not persists

created by Amit Ajmani in Beginner's Corner - View the full discussion

Hi,

 

I found the solution .

just need to put these properties in the persistence.xml file and it all works fine..

 

<code>

<persistence-unit name="jdbcService" transaction-type="JTA">

........

<property name="jboss.entity.manager.jndi.name" value="java:/jdbcService"></property>

 

 

 

<property name="jboss.entity.manager.factory.jndi.name"value="java:/jdbcServiceFactory" ></property>



</code>

 

thanks for all your kind support.....:)

 

Amit

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community