users@glassfish.java.net

JPA: Detached Entities

From: <glassfish_at_javadesktop.org>
Date: Wed, 08 Aug 2007 03:01:48 PDT

Hi,
Just looking through the spec and reading various books. Detached Entities seem to just end up causing problems when Use Cases start getting more complicated etc.
Some books / people suggest always using attached entities by using an Extended Persistence Context. This seems a reasonable approach. I was just wondering what advantages to detached entities actually give the user?

Cheers
Jim
[Message sent by forum member 'jimcarrey' (jimcarrey)]

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