openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cil-Gamir <>
Subject Re: Two OpenJPA Applications in the same container
Date Mon, 08 Mar 2010 06:08:54 GMT

A "work-around" of sorts seems to be to not use a datasource. But that's bad
practice, I can get away with it because my application doesn't take heavy
traffic. But if I don't use a jta datasource and just connect to the
database directly then it works fine.


    <property name="openjpa.ConnectionURL"
				value="jdbc:oracle:thin:@server:1530:schema" />
    <property name="openjpa.ConnectionDriverName"
value="oracle.jdbc.driver.OracleDriver" />
    <property name="openjpa.ConnectionUserName" value="user" />
    <property name="openjpa.ConnectionPassword" value="pass" />

instead of 
      <property name="openjpa.DataCache" value="true"/>
      <property name="openjpa.RemoteCommitProvider" value="sjvm"/>
      <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/>
      <property name="openjpa.TransactionMode" value="managed"/>
View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message