mnimer / dphibernate

Automatically exported from code.google.com/p/dphibernate
0 stars 0 forks source link

Serialization issue with using primitive long type #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using primitive long type for identity column results in the following 
exception:

> [BlazeDS]03/18/2011 14:53:10.691 [ERROR] [Endpoint.AMF] Exception
> occurred during serialization:
> org.springframework.core.convert.ConversionFailedException: Unable to
> convert value "71" from type 'java.lang.Long' to type 'long'; nested
> exception is java.lang.IllegalArgumentException: Could not convert
> number [71] of type [java.lang.Long] to unknown target class [long]
> 

Original issue reported on code.google.com by martypit...@gtempaccount.com on 18 Mar 2011 at 7:40

GoogleCodeExporter commented 9 years ago
I used only Ids of type [java.lang.Long] for all my entity ids and changed the 
following in revision 298 (see diffs)

Original comment by robert.b...@gmail.com on 21 Jul 2011 at 1:35

Attachments: