Amit Ajmani [http://community.jboss.org/people/amitajmani1] created the 
discussion

"Re: JBoss5.1.0 + JPA = Object not persists"

To view the discussion, visit: http://community.jboss.org/message/631235#631235

--------------------------------------------------------------
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:/+jdbcService+Factory"+
 ></property>
 

</code>

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

Amit
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/631235#631235]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to