Andreas,

That seems to be pre-0.9.6. That means that the feature(s) as described by Ralf 
will not be available to you, as they have been introduced just recently (0.9.7 
or 0.9.9). Yes, you are right that there was means how to "enable" a logger 
with 0.9.5.x releases, but I simply cannot remember anymore. Maybe somebody 
else is capable of sharing his knowledge with you (and us).

Having said that, I'd be interested to hear whether there is anything in 
particular that prevents you from upgrading to either 0.9.7 or 0.9.9(.1) ? 

Regards
Werner

wg> -----Original Message-----
wg> From: Andreas Rutvik [mailto:[EMAIL PROTECTED] 
wg> Sent: Thursday, November 17, 2005 10:48 AM
wg> To: [email protected]
wg> Subject: Re: [castor-user] Problem seeing what SQL is executed.
wg> 
wg> Actually I am using an old version of Castor which was 
wg> distributed 17/1-2003. This distribution doesn't have this
wg> 
wg> org.exolab.castor.persist.useProxy=true
wg> 
wg> Anyway, in the castor.properties file there is a property called
wg> 
wg> org.exolab.castor.debug, which I have set to true, but I 
wg> can't see any castor logging anyway ?
wg> 
wg> Regards
wg> /Andreas
wg> 
wg> 
wg> >From: Ralf Joachim <[EMAIL PROTECTED]>
wg> >Reply-To: [email protected]
wg> >To: [email protected]
wg> >Subject: Re: [castor-user] Problem seeing what SQL is executed.
wg> >Date: Wed, 16 Nov 2005 18:27:56 +0100
wg> >
wg> >Hi Andreas,
wg> >
wg> >have a look at:
wg> >
wg> >http://castor.codehaus.org/how-to-connection-proxies.html
wg> >
wg> >Regards
wg> >Ralf
wg> >
wg> >
wg> >Andreas Rutvik schrieb:
wg> > > Hi all,
wg> > >
wg> > > since I am a newbie on Castor, as detailed help as 
wg> possible would be 
wg> > > appreciated.
wg> > >
wg> > > I have migrated from Sybase to MySQL, and getting problems when 
wg> > > trying to create an Object in the persistent storage.
wg> > >
wg> > > My code looks like this :
wg> > >
wg> > > // use the Castor database connection to persist 
wg> > > org.exolab.castor.jdo.Database db = getDBConnection (  
wg> ); db.create 
wg> > > ( obj ); // THIS CALL GIVES ME THE EXCEPTION
wg> > >
wg> > > and I just get the following exception :
wg> > > cannot create object of type 
wg> workflow.core.WorkflowStatus Nested error:
wg> > > java.sql.SQLException: Syntax error or access violation 
wg> message from
wg> > > server: "You have an error in your SQL syntax; check 
wg> the manual that 
wg> > > corresponds to your MySQL server version for the right 
wg> syntax to use 
wg> > > near '"status_workflow"
wg> > > 
wg> ("msg_id","domain","tmstamp","uuid","event","status","class_na' at 
wg> > > line
wg> >1"
wg> > >
wg> > > But this is not much to help since I can't view the 
wg> whole SQL to be 
wg> > > executed. Is there any easy way to view the actual SQL 
wg> being executed ?
wg> > >
wg> > > Regards
wg> > > /Andreas
wg> > >
wg> > > 
wg> _________________________________________________________________
wg> > > Hitta rätt på nätet med MSN Search http://search.msn.se/
wg> > >
wg> > >
wg> > > -------------------------------------------------
wg> > > If you wish to unsubscribe from this list, please send an empty 
wg> > > message to the following address:
wg> > >
wg> > > [EMAIL PROTECTED]
wg> > > -------------------------------------------------
wg> >
wg> >--
wg> >
wg> >Syscon Ingenieurbüro für
wg> >Meß- und Datentechnik GmbH
wg> >Ralf Joachim
wg> >Raiffeisenstraße 11
wg> >D-72127 Kusterdingen
wg> >Germany
wg> >
wg> >Tel.   +49 7071 3690 52
wg> >Mobil: +49 173 9630135
wg> >Fax    +49 7071 3690 98
wg> >
wg> >Email: [EMAIL PROTECTED]
wg> >Web:   www.syscon-world.de
wg> >
wg> >-------------------------------------------------
wg> >If you wish to unsubscribe from this list, please send an 
wg> empty message 
wg> >to the following address:
wg> >
wg> >[EMAIL PROTECTED]
wg> >-------------------------------------------------
wg> >
wg> 
wg> _________________________________________________________________
wg> Chatt: Träffa nya nätkompisar på Habbo Hotel 
wg> http://habbohotel.msn.se/habbo/sv/channelizer
wg> 
wg> 
wg> -------------------------------------------------
wg> If you wish to unsubscribe from this list, please 
wg> send an 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]
-------------------------------------------------

Reply via email to