users@glassfish.java.net

Re: Is there a way to represent an Entity as Singleton?

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Oct 2007 15:59:41 PDT

Thanks,

I was doing some searching around and some other people proposed defining one primary key and the accessor through the session bean always returns a single instance which is the instance with this primary key.

Even with this approach you could manually bypass it through using the EM directly but I guess it is good enough.

S.D.
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=238550