This one time, at band camp, Jamie De Wet said:

Jamie,

Please see inline comments below.

JDW>I am running a mysql database with about 15 tables. The information in these
JDW>tables are data logged from a xml file. Please could you give me a hand with
JDW>the following:
JDW>
JDW>1. How could I connect to the mysql database. (using ODBC-JDBC at the
JDW>moment)

Using the Mark Matthews MySQL drivers (http://mmmysql.sf.net/).

JDW>2. How would I set up a mapping file to get data from database to Java
JDW>objects or into a xml file. ( I am using castor's databinding to get data
JDW>from xml to Java objects - now I need to insert the data and later retrieve
JDW>the data from database). Will castor JDO help - are there tutorials for
JDW>using this.

Please see the Castor JDO examples in src/examples/jdo and src/examples/myapp

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&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

Reply via email to