-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lifecycle annotations: @PreInsert not called on batch insert #14
Comments
I was on holidays so I couldn't answer! Pascal On Tue, Dec 27, 2011 at 11:20 AM, Henric Trotzig <
|
We have started to use the Lifecycle annotations provided with Siena and found a couple of issues with how it is implemented. One of them is that methods annotated with @PreInsert aren't called on insertions via the Model.batch() method.
Below is a testcase demonstrating the bug. Note that there are a couple of test cases. For this bug, look for the preInsertShouldWorkOnBatchInsert() test method. I'll file another bug for the other test cases that fail.
The text was updated successfully, but these errors were encountered: