Hello
Richard,
I
looked at the CClaim class which is giving the object modified exception. There
is a java.sql.Timestamp field in it.
I had
the same problem with my class when I have Timestamp field, What I did was
to just set dirty=ignore for that field as workaround.
This
was sometime back, so I don't exactly remember, but the symptom was following
--
I was
not changing the time stamp field in anyway..yet..
The
timestamp field in the database is NULL or '1970...' don't remember exactly, but
Castor reads it as one thing and when comparing the value with database at time
of commit treats database value differently.
Hope
this helps,
Sandeep.
|
Title: Message
- [castor-dev] ObjectModifiedException problem ... Dancing wi... Richard Grill
- Re: [castor-dev] ObjectModifiedException problem ... D... Sandeep Bhasin
- Re: [castor-dev] ObjectModifiedException problem .... Richard Grill