Gordon,
Thanks for your response. I am not sure if I completely understand how to proceed. The EntityListener has a method annotated with @PrePersist and the object I am calling merge on is new, so I expect the @PrePersist method to be called which it is. I believe this because a related bug (
https://glassfish.dev.java.net/issues/show_bug.cgi?id=2894) was fixed to ensure the @PrePersist lifecycle event was called for new unmanaged objects when using merge() to persist. I am not sure how to proceed because everything I read leads me to believe this should work. Which event should I use to ensure the changes made in @PrePersist and actually applied?
Thanks for your help.
Jon
[Message sent by forum member 'jonseaberg' (jonseaberg)]
http://forums.java.net/jive/thread.jspa?messageID=256649