At 09:44 AM 5/3/2002 -0400, Andrus wrote:
>Hi Robert,
Correction. Of course since the example was given for Oracle, adapter line
should read:
adapter="org.objectstyle.cayenne.dba.oracle.OracleAdapter"
instead of MySQL.
Andrus
>Example of cayenne.xml:
>===================================
><?xml version="1.0" encoding="utf-8"?>
><domains>
><domain name="main">
> <map name="map" location="datamap.xml"/>
> <node name="db1"
> adapter="org.objectstyle.cayenne.dba.mysql.MySQLAdapter"
> datasource="driverinfo.xml"
>
>factory="org.objectstyle.cayenne.conf.DriverDataSourceFactory">
> <map-ref name="entmap"/>
> </node>
></domain>
></domains>
>==================================
This archive was generated by hypermail 2.0.0 : Fri May 03 2002 - 09:59:49 EDT