I'm upgrading to Hibernate 3.0.1 from the 2.x line and I'm trying to switch from the Lifecycle interface over to the new event system.
Everything seems to be working as I'd think it would except for PostInsertEvent. When the PostInsertEvent gets fired, I'd expect that the insert statement to already be in the transaction queue so that if I need to reference the newly inserted item, I'd be able to. However, I'm finding that this is not the case.
Can anyone confirm if this is expected behavior, or is this a bug?
Thanks.
|