[jboss-dev-forums] [JBoss AS7 Development] - Re: jboss7 quickstarts entitymanager injection question
robert walker
do-not-reply at jboss.com
Tue Nov 8 19:33:41 EST 2011
robert walker [http://community.jboss.org/people/robertwalker] created the discussion
"Re: jboss7 quickstarts entitymanager injection question"
To view the discussion, visit: http://community.jboss.org/message/635619#635619
--------------------------------------------------------------
scott, u mention
>For each separate datasource used in your application , there should be a separate persistence unit for that datasource
I understand this, but what i am confused about is these are 2 different applications, jboss 7 quickstarts login and kitchensink
yet each one's persistence.xml points to the same data source, and I guess that is ok, what if both applications are deployed on the server
running at same time, i guess it is just odd to me they are sharing the same DS, an in memory H2 database/source
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635619#635619]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111108/9d7f2193/attachment.html
More information about the jboss-dev-forums
mailing list