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


<!--
======================================================
Local Transaction Database file for Container-Managed
Persistence EntityBeans in a CMP Container using
PostgreSQL as the database
======================================================

Other CMP containers can be configured.  Each container
will need a Local_TX_Database file like this one, plus
a Global_TX_Database file and a mapping file.

This configuration is used for local or unspecified 
transaction contexts.  This will be used when the 
TransactionManager is not managing the transaction, 
such as when the tx attribute is Supports (no client 
tx), NotSupported, or Never.

Specifies the configuration for obtaining database 
connections and the mapping.xml schema which describes
how beans map to the database.

[The Syntax of this file is defined by Castor JDO]

-->
<database name="Local_TX_Database" engine="postgresql">
    <driver class-name="org.postgresql.Driver" 
            url="jdbc:postgresql://localhost/openejbtest">
        <param name="user" value="openejbuser"/>
        <param name="password" value="javaone"/>
    </driver>
    <mapping href="conf/postgresql.cmp.or-mapping.xml" />
</database>

