[jboss-user] [Beginner's Corner] - Re: JBoss5.1.0 + JPA = Object not persists
Amit Ajmani
do-not-reply at jboss.com
Tue Oct 11 15:47:21 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111011/c25530df/attachment.html
More information about the jboss-user
mailing list