Hello Marina,
Thanks a lot for your reply.
The use of "merge()" didn't managed the object when we tried it ; we'll retry
it.
In singleton EJB do we really need to close EM ? I mean, there's only one
instance and always available, so I think we should'nt close the
EM. Moreover, is PreDestroy called in such case ?
I still don't understand why when using injection we can't manage objects.
Olivier.
--
[Message sent by forum member 'laps']
View Post: http://forums.java.net/node/874435