[jboss-user] [jBPM] - Re: Regarding Persistence.xml

Maciej Swiderski do-not-reply at jboss.com
Fri Oct 7 10:37:08 EDT 2011


Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Regarding Persistence.xml"

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

--------------------------------------------------------------
persistnce.xml file defines persistence units so you can define your one persistence unit in another file and put it on classpath. Just make sure you have different names in every persistence unit you have including the one shipped with jBPM.
Next refer to your persistence unit (by name) when creating entity manager factory prior to creating the session.

HTH
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111007/65bb0324/attachment.html 


More information about the jboss-user mailing list