Hi, >> Do you know of a unit test or example where this is tested - whether a >> PostPersist method has access to a generated id value?
I didn't find any that explicitly tested the id value, but there is one, TestMessageListeners.java, that uses PostPersist callbacks. I put breakpoints in the PostPersist methods of the listeners and checked out the object passed in. The id is set as expected everytime. This was with trunk. A testcase showing failures would definitely help. Thanks, Dinkar
