Hi Bruce,
I downloaded castor-0.9.5.zip and build it from the source code. Looking forward to get some help from you.
Cheers,
Avalovin
 
=============================================
 
Avalovin,

Depending on which version of Castor you're using, the answer will
vary. In the CVS version, I recently switched the logging over to make
use of Log4J so the logging can be easily traced. If you're using the
last released version of Castor, it is still using the old logging and
we'll probably need to change some code to add logging for the items
you want to see. Please let me know what version you're using and we
can get you what you need.

=============================================
 
 

Hi Castor users,

 

I am not very familiar with how Castor works internally. 

Can anybody tell me how can I know what is the SQL command that Castor is going to execute?

The mapping.setLogWriter( writer ) and  jdo.setLogWriter(writer)  is logging  SQL for loading, creating, updating and so no. But I get a SQLException excep 1ORA-01747: invalid user.table.column, table.column, or column specification when caster execute db.commit(). Could not find any relevant log message which can cause the problem.

So I want to know about the SQL statement, which is causing problem. 

I want to add that this happens only when I change the value of the retrieved object through corresponding setAccessor() methods and then issue a db.commit() to update the object.  

 

Any help will be highly appreciated.

 

Avalovin

 


Download Yahoo! Messenger now for a chance to WIN Robbie Williams "Live At Knebworth DVD"

Reply via email to