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