Re: EJB3/JPA with Oracle
Manoj Bharadwaj <[email protected]> Tue, 29 Jul 2014 09:00:43 -0400
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <CAJxN56sWF=8RqzcdvQkgyq1npVhm_sFatqF89JROXALTJrUkFg@mail.gmail.com> |
--===============7384195588119658919== Content-Type: multipart/alternative; boundary=001a11c15c505ee49404ff54a2e7 --001a11c15c505ee49404ff54a2e7 Content-Type: text/plain; charset=UTF-8 You should be able to configure the session properties in your DataSource definition. For example in TomEE, in tomee.xml there would be a "Resource" definition which has property "ConnectionProperties" where session props can be set. A similar config will be available in other containers. I believe in Jboss you may be able to do something similar via <new-connection-sql> Give it a shot and do let me know what worked. --001a11c15c505ee49404ff54a2e7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"font-family:arial,sans-serif;font-size:13px= ">You should be able to configure the session properties in your DataSource= definition.</span><div style=3D"font-family:arial,sans-serif;font-size:13p= x"> <br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">For ex= ample in TomEE, in tomee.xml there would be a "Resource" definiti= on which has property "ConnectionProperties" where session props = can be set. A similar config will be available in other containers.</div> <div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s= tyle=3D"font-family:arial,sans-serif;font-size:13px">I believe in Jboss you= may be able to do something similar via <new-connection-sql></div><d= iv style=3D"font-family:arial,sans-serif;font-size:13px"> <br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">Give i= t a shot and do let me know what worked.</div><div class=3D"gmail_extra"><b= r><br></div></div> --001a11c15c505ee49404ff54a2e7-- --===============7384195588119658919== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Juglist mailing list [email protected] http://lists.trijug.org/mailman/listinfo/juglist_lists.trijug.org --===============7384195588119658919==--