Thanks Werner, Is there any plans for Castor to support Pointbase embedded database sometime soon?
John. -----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 08:59 AM To: [email protected]; [EMAIL PROTECTED] Subject: RE: [castor-user] Connection to Database John, Can I take it that you have read (and understood .. ;-)) http://castor.codehaus.org/database-conf.html. As outlined there, you'll need to adopt your JDO config file and add <jdo-conf> and <transaction-demarcation> elements. Regards Werner Guttmann wg> -----Original Message----- wg> From: John Greene [mailto:[EMAIL PROTECTED] wg> Sent: Monday, January 23, 2006 2:48 PM wg> To: Castor User wg> Subject: [castor-user] Connection to Database wg> wg> Hi, wg> wg> First I am a new user of Castor, and I am trying to get a wg> connection to either mySQL or Pointbase database (not sure wg> if the latter is supported). wg> Anyhow I keep getting the following runtime error message wg> wg> wg> org.exolab.castor.mapping.MappingException: Nested error: wg> unable to find FieldDescriptor for 'driver' in wg> ClassDescriptor of jdo-conf wg> wg> Database config file is as follows: wg> wg> <database name="john" engine="pointbase" > wg> <driver class-name="com.pointbase.jdbc.jdbcUniversalDriver" wg> url="jdbc:pointbase://localhost:9092/john" > wg> <param name="user" value="pbsysadmin"/> wg> <param name="password" value="pbsysadmin"/> wg> </driver> wg> <mapping href="mapping.xml" /mapping> wg> </database> wg> wg> wg> wg> Mapping file is below: wg> wg> <mapping> wg> <class name="project.student" identity="studentid"> wg> <map-to table="students" /> wg> <field name="studentid" type="integer"> wg> <sql name="studentid" type="integer"/> wg> </field> wg> wg> <field name="firstname" type="string"> wg> <sql name="firstname" type="varchar" /> wg> </field> wg> wg> <field name="lastname" type="string"> wg> <sql name="lastname" type="varchar" /> wg> </field> wg> wg> <field name="group" type="string"> wg> <sql name="group" type="varchar" /> wg> </field> wg> wg> </class> wg> </mapping> wg> wg> wg> wg> ------------------------------------------------- wg> If you wish to unsubscribe from this list, please send an wg> empty message to the following address: wg> wg> [EMAIL PROTECTED] wg> ------------------------------------------------- wg> wg> ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

