0 Replies Latest reply on Jul 18, 2003 12:10 AM by Tom Armistead

    Forcing database column updates with CMP?

    Tom Armistead Newbie

      Is there a way to force the update of a database column from a CMP bean, even if the data for that column has not changed?

      I can do this with BMP, but seems like a good amount of overkill for just this one change in functionality.

      I have an update trigger on a column in a database. I need that trigger to fire with each update the the associated CMP bean - even if the data being passed to the set method is the same as what is already there.

      This is with JBoss 3.0.6. I'm using commit options C and performance is not an issue with this specific CMP bean.

      Thanks!
      Tom