I hadn't really thought about deleting yet (I'm deciding what kind of audit trail approach to take, whether to mark a record as deleted or actually delete and copy to some kind of audit log). But it would round off the feature, so I think that would be good to include.

On 15/07/2012 4:18 PM, Lukas Eder wrote:
That's fantastic. I'll be sure to give it a good work out :).
Great, any pre-2.5.0 release feedback is helpful, as it is easier to
change the API and semantics before actually releasing it. The
SNAPSHOT can be found here:
https://oss.sonatype.org/content/repositories/snapshots/org/jooq/

Note, I am thinking that there should also be an
UpdatableRecord.deleteLocked() method with similar semantics. Using
deleteLocked():

- An exception should be thrown if the database record was already deleted
- An exception should be thrown if the database record has been
changed before deletion

What do you think?


Reply via email to