|Re: Using Observable Lists within entity classes? [message #517010 is a reply to message #516987]
||Thu, 25 February 2010 17:38
Registered: October 2009
I sorted the problem.
Basically the application is stand alone using an application managed entity manager so I pass it around as a class parameter. (I wonder if there's a better way of doing this?)
However, in this particular class I declared a new entityManager (joys of using an IDE) and used that instead of using the manager passed in. I suspect this meant a new persistance context was created which masked the main context.
Now everything is working fine.
Depending how code is structured I gusess it's always possible to avoid the need for an observable list within an entity class declaration.
Thanks for replying,
[Updated on: Thu, 25 February 2010 17:39]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11704 seconds