I still get the dreaded LazyInitializationException although I'm using the SeamExtendedManagedPersistencePhaseListener.
My entity manager is bound to the jndi context, I can query an EJB3 entity with it, but when I try to navigate down a OneToMany relationship I get
[LazyInitializationException] failed to lazily initialize a collection of role: ..., no session or session was closed
a) too stupid
b) too tired...
When I get the @DataModelSelection for an EntityBean, I don't seem to have a fully bound instance. This is why the generated code refreshes the entity with merge(). A refresh() helps as well...