I am using oracle/8i and castor 0.9.5 and am able to create rows with sql.Dates in them.
 
However, I have another objectmodificationexception. See post "A new ObjectModicationException". I know the date is not causing this problem since I am able to replicate in a table without dates.
 
Where is your exception thrown from? Mine is thrown from within SQLEngine.store line 882.
 
It executes and update to the oracle driver, then executs a re-read of the same record from the oracle driver and decides to throw the exception because the re-read works. I don't understand why this is being done.
 
The work around to this exception is to ensure that you never write a field with an empty string in it followed by a string with something in it. I am putting a single space in all empty strings at the moment to keep things working.
----- Original Message -----
Sent: Thursday, September 11, 2003 11:25 AM
Subject: [castor-dev] ObjectModifiedException ,Oracle date

Hi,
 
is the problem of conversion from java.sql.Date to
oracle date datatype fixed or is there a way to
solve this problem.
 
I get the ObjectModifiedException when I try to create
a new Object ...
 
Thanks
 
Christophe
 



Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Testez le nouveau Yahoo! Mail

Reply via email to