--
You received this message because you are subscribed to the Google Groups "CFWheels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+unsubscribe@googlegroups.com.
To post to this group, send email to cfwh...@googlegroups.com.
Visit this group at https://groups.google.com/group/cfwheels.
For more options, visit https://groups.google.com/d/optout.
Hi JoeCallbacks are called 'events' in Hibernate, one example is preInsert().However audit logs are a common use for triggers so I don't know what the objection is.Andy
On 14 February 2017 at 20:33, Joe Genshlea <j...@revolution-wines.com> wrote:
Hello -Apology for tangential post:I'm a data modeler/Integration architect at my day job (paying job). I've been using CFWheels for some side projects but am not fluent in too many languages other than CFML.At my day job the Java engineers are asking me to implement a whole bunch of triggers to essentially keep an audit trail. In other words when a row is updated in a table they opened a story for me to move the old row to another table using database triggers. The DBA where I work is pretty steadfast in objection to triggers, and I agree with him. In CFWheels, I could do this using object callbacks. We use the hibernate ORM here. Is there not a similar function in Hibernate? I googled it and it appears that Hibernate has callbacks, but I wanted to throw this out here as this is the only group that I participate in with any regularity and I noticed that there are pretty serious programmers in this group that probably would know.Thanks for your helpJoe.
--
You received this message because you are subscribed to the Google Groups "CFWheels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cfwheels+unsubscribe@googlegroups.com.