On Fri, Apr 8, 2011 at 4:54 PM, Sebastien Belin
<sebastien.be...@adaptris.com> wrote:
> I indeed don't do any merge to reattached the user object as I though it's
> not really efficient and it was not needed as it was working in not testing
> mode.
>
> I also didn't think that with Stripersist the object was detached when
> loaded in the ActionBean.

Aren't you by any chance using in your webapp a filter to implement
the "Open Session/EntityManager in View" pattern ? Like the one from
Spring (OpenSessionInViewFilter) ? That would be the reason why your
entities are not detached in "not testing" mode.

Frank

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to