Hi Chris

Well I'm also using a MySQL database with the same JDBC drive which all
works. From this I can conclude that MySQL is still supported. I presume
that your error is in the Database.xml file. Mine looks similar to this:


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

<database name="mySQL" engine="mysql">
    <driver class-name="org.gjt.mm.mysql.Driver"
            url="jdbc:mysql://localhost/mydatabase">
      <param name="user" value="databaseuser" />
      <param name="password" value="databasepassword />
    </driver>
    <mapping href="mapping.xml" />
</database>


The attribute engine in the database tag is important, and has to be set
to 'mysql'.

Erich Lauterbach
skynamics AG
www.skynamics.com


-----Original Message-----
From: Chris Cook [mailto:[EMAIL PROTECTED]] 
Sent: Mittwoch, 12. Juni 2002 16:50
To: [EMAIL PROTECTED]
Subject: [castor-dev] problem using mysql

I'm trying to run some sample code using mysql as my database and I'm
getting the following error.  

org.exolab.castor.jdo.PersistenceException: Nested error:
org.gjt.mm.mysql.jdbc2.NotImplemented

I'm using the following driver: mm.mysql-2.0.4-bin.jar,

Does anyone know of this problem?  Is mysql no longer supported?

Thanks,

Chris

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to