All java.util.Date fields are updated. In Oracle9i they are TIMESTAMP(3). I've found a workaround for this problem in this forum:
In jbosscmp-jdbc.xml, set <check-dirty-after-get> to false for your non-primitive CMP fields. <cmp-field> <field-name>shipDate</field-name> <column-name>ship_date</column-name> <not-null/> <jdbc-type>DATE</jdbc-type> <sql-type>DATE</sql-type> <check-dirty-after-get>false</check-dirty-after-get> </cmp-field> It works great and I didn't have a deadlock since I set <check-dirty-after-get> to false for the Date fields. The problem with it is that I have to do it for every single field and that I can't do it with XDoclet. So I have to patch jbosscmp-jdbc.xml after every run of XDoclet. Does anybody know, why JBoss does these updates? If it's not a bug a switch to turn it off generally would be very helpful. <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823871#3823871">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823871>Reply to the post</a> ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
