Tom Pierce's Blog : Let the geek times roll.
Updated: 6/20/04; 3:05:29 PM.

 

Subscribe to "Tom Pierce's Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Thursday, February 20, 2003

I've had this problem 2 or 3 times now using Castor JDO 0.9.x and it's extremely annoying.  In fact, in my case, it only seems to happen on the production web server.  I cannot duplicate it on the development web server pointing at either the development or the production databases.  So, the only way I can test it is IN PRODUCTION!!!  Argh.

I've found the recommended solution in the JDO mailing list archives again.  Apparently this exception can happen with fields of type float, double, or date.  In these cases, the recommended fix is to change the mapping file to tell JDO to ignore the dirty check on those fields.  Here's an example:

 <sql name="foo" type="date" dirty="ignore" />


8:30:15 AM    comment []

© Copyright 2004 Tom Pierce.



Click here to visit the Radio UserLand website.

 


February 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
Jan   Mar

Search

[sgl dagger]
How this works

Emacs Sources
 tsql-indent.el
 user-add-sql-folding-marks
 remove-line-boundary-in-region
 convert-camel-to-underscore

My Subscriptions
 Funny
 KM