On 5/13/05, Eric Anderson <[EMAIL PROTECTED]> wrote:
> 
> I can't seem to get <transaction-demarcation mode="local" /> to read in
> correctly. I am receiving this error when calling my first jdo
> instance.
...
> <jdo-conf>
> 
> <database name="HPPROD1" engine="oracle">
> 
>     <data-source class-name="oracle.jdbc.driver.OracleDriver">
>     <param name="user" value="**" />
>     <param name="password" value="**" />
>     <param name="port-number" value="1526" />
>     <param name="server-name" value="***" />
>     <param name="database-name" value="HPPROD1" />
>         </data-source>
> 
>     <mapping href="WEB-INF/mapping.xml" />
>     <transaction-demarcation mode="local" />
> 
> </database>
> 
> </jdo-conf>

Eric, 

Please take a look at the jdo-conf descriptor for the oracle
functional tests here:

http://cvs.castor.codehaus.org/viewrep/~raw,r=1.4/castor/castor/src/tests/jdo/oracle.xml

The trouble you're having is due to the fact that the
transation-demarcation element is inside of the database element. Move
the transaction-demarcation element outside of the database element.

Bruce 
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

Reply via email to