<?xml version="1.0" ?>
<!DOCTYPE jdo-conf PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version 1.0//EN"
                           "http://castor.exolab.org/jdo-conf.dtd">

<jdo-conf>
<!--
    <database name="test" engine="postgresql" >
        <driver class-name="org.postgresql.Driver" url="jdbc:postgresql://wolf/castor_examples"> 
            <param name="user" value="test"/>
            <param name="password" value="test" />
        </driver>
      <mapping href="mapping.xml" />
    </database>
    <transaction-demarcation mode="local" />
-->

    <database name="test" engine="mysql" >
        <driver url="jdbc:mysql://wolf/castor_examples" class-name="org.gjt.mm.mysql.Driver">
            <param name="user" value="test" />
            <param name="password" value="test" />
        </driver>
        <mapping href="jdo/mapping.xml" />
    </database>
    <!--transaction-demarcation mode="local" /-->
    <transaction-demarcation mode="local">
        <transaction-manager name="local" />
    </transaction-demarcation>

<!--
    <database name="test" engine="postgresql" >
        <data-source class-name="org.postgresql.jdbc2.optional.PoolingDataSource">
            <params server-name="wolf" database-name="castor_examples" 
                    port-number="5432" user="test" password="test" />
        </data-source>
        <mapping href="mapping.xml" />
    </database>
    <transaction-demarcation mode="local">
        <transaction-manager name="local" />
    </transaction-demarcation>
-->
</jdo-conf>
