Hi Andreas, have a look at:
http://castor.codehaus.org/how-to-connection-proxies.html Regards Ralf Andreas Rutvik schrieb: > Hi all, > > since I am a newbie on Castor, as detailed help as possible would be > appreciated. > > I have migrated from Sybase to MySQL, and getting problems when trying > to create an Object in the persistent storage. > > My code looks like this : > > // use the Castor database connection to persist > org.exolab.castor.jdo.Database db = getDBConnection ( ); > db.create ( obj ); // THIS CALL GIVES ME THE EXCEPTION > > and I just get the following exception : > cannot create object of type workflow.core.WorkflowStatus Nested error: > java.sql.SQLException: Syntax error or access violation message from > server: "You have an error in your SQL syntax; check the manual that > corresponds to your MySQL server version for the right syntax to use > near '"status_workflow" > ("msg_id","domain","tmstamp","uuid","event","status","class_na' at line 1" > > But this is not much to help since I can't view the whole SQL to be > executed. Is there any easy way to view the actual SQL being executed ? > > Regards > /Andreas > > _________________________________________________________________ > Hitta rätt på nätet med MSN Search http://search.msn.se/ > > > ------------------------------------------------- > If you wish to unsubscribe from this list, please send an empty message > to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- -- Syscon Ingenieurbüro für Meß- und Datentechnik GmbH Ralf Joachim Raiffeisenstraße 11 D-72127 Kusterdingen Germany Tel. +49 7071 3690 52 Mobil: +49 173 9630135 Fax +49 7071 3690 98 Email: [EMAIL PROTECTED] Web: www.syscon-world.de ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

