Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » DynamicEntity is not Serializable(DynamicEntity is not Serializable)
DynamicEntity is not Serializable [message #957023] Wed, 24 October 2012 20:30 Go to next message
Sergio Szychowski is currently offline Sergio Szychowski
Messages: 1
Registered: October 2012
Junior Member
Why DynamicEntities are not serializable?

and how can i deal with this limitation?

Jpa Entities are Serializables so why DynamicEntities not?

Thanks.


java.io.NotSerializableException: example.jpa.dynamic.model.employee.Employee
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at example.Samples.persistAll(Samples.java:666)
at example.Main.runDynamicAPITest(Main.java:80)
at example.Main.main(Main.java:46)

[Updated on: Fri, 26 October 2012 11:39]

Report message to a moderator

Re: DynamicEntity is not Serializable [message #964693 is a reply to message #957023] Tue, 30 October 2012 14:20 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Please log a bug for this.

James : Wiki : Book : Blog : Twitter
Previous Topic:Why tables for abstract classes with TablePerClass inheritance are created?
Next Topic:SessionProfiler, count number of queries executed during transaction
Goto Forum:
  


Current Time: Sat Aug 23 01:42:33 EDT 2014

Powered by FUDForum. Page generated in 0.02301 seconds