Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Using EclipseLing with Spring WebFlow
Using EclipseLing with Spring WebFlow [message #382796] Thu, 30 October 2008 08:57 Go to next message
Eclipse User
Originally posted by: christofer.dutz.c-ware.de

Hi,

I am currently trying to get an application based upon EclipseLink
1.0.1, Spring 2.5.5 and Spring WebFlow 2.0.3.RELEASE up and running.
While having no problems at all when using the Hibernate Entity Manager,
when switching to Eclipselink I get the following Exception:
java.io.NotSerializableException:
org.eclipse.persistence.internal.jpa.EntityManagerImpl

Is there a way to avoid this Problem, or do I have to either wait for it
be become serializable or switch back zu hibernate?


With kind regards,
Christofer Dutz
Re: Using EclipseLing with Spring WebFlow [message #382799 is a reply to message #382796] Mon, 03 November 2008 09:09 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Could you include the full stack trace to the exception, and perhaps give
some context as to why the EntityManager is being serialized.

In general it makes no sense to serialize an EntityManager, and any
variable referencing it should be marked as transient.

----
James
http://www.nabble.com/EclipseLink---Users-f26658.html


James : Wiki : Book : Blog : Twitter
Previous Topic:Wrong bundle-version for EclipseLink 1.0.2 OSGi bundles
Next Topic:EclipseLink Test suite and Ingres
Goto Forum:
  


Current Time: Fri Jul 25 19:17:48 EDT 2014

Powered by FUDForum. Page generated in 0.02216 seconds