This one time, at band camp, Bruno Fonseca Carneiro de Albuquerque -...:
BFCdAD>Here you go
BFCdAD>
BFCdAD>Database.xml file:
BFCdAD>
BFCdAD><!DOCTYPE databases PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version
BFCdAD>1.0//EN"
BFCdAD> "http://castor.exolab.org/jdo-conf.dtd">
BFCdAD><database name="XXXXXXXX">
AHA! There is no 'engine' attribute in the <database> element listed
above. That's exactly what I suspected. Below is an example database.xml
that I use with the JDO examples:
<!DOCTYPE databases SYSTEM
"/home/bsnyder/src/castor/build/classes/org/exolab/castor/jdo/conf/jdo-conf.dtd">
<database name="test" engine="postgresql" >
<data-source class-name="org.postgresql.jdbc2.optional.PoolingDataSource">
<params server-name="localhost" database-name="castor_examples"
port-number="5432" user="test" password="test" />
</data-source>
<mapping href="mapping.xml" />
</database>
Notice that the above <database> element contains an 'engine' attribute
telling Castor that I'm using PostgreSQL.
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev