[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Do updates to ejb3 entity objects only update for new values

triad717 do-not-reply at jboss.com
Wed Nov 22 20:43:08 EST 2006


Hello,

If I have an entity bean in ejb3 that is loaded with one row from a database, and then I update only one of the fields in the entity bean, will every column in the database row also be updated -or is only the affected column updated?

The reason I ask is that we have triggers set to fire if a particular column is updated and write to an event table.... if every field is updated, when only one column was actually updated, then a number of false events are written :(

Thank You for any and all assistance...
Ed

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988031#3988031

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988031



More information about the jboss-user mailing list