|Re: [eclipselink-users] What cause this exception|
I didn't get the email with your entities, and likely others on the list didn't either if you sent them via a zip file. I can't say why it is unable to load the IndirectSet class when it attempts to reserialize the enitity though - it seems like an osgi loading issue. The stack trace shows that an object is marked with a basic mapping that has references to other entities. This is not recommended, as object identity will not be preserved. So if ProjectRegistration is marked with a basic mapping, what does it look like?
- but I don't see why you would mark an object with a basic mapp
----- Original Message -----
From: "Joel Rosi-Schwartz" <Joel.Rosi-Schwartz@xxxxxxxxx>
To: "Eclipselink-Users" <eclipselink-users@xxxxxxxxxxx>
Sent: Friday, January 2, 2009 11:22:06 o'clock AM (GMT-0500) America/New_York
Subject: Re: [eclipselink-users] What cause this exception
This annotation is used to define a field of the class as persistent. Specified on the field/method.
Attribute Type Description Default
fetch FetchType Type of fetching for this field LAZY | EAGER
optional boolean Whether this field having a value is optional (can it have nulls) true | false
public class Person
Please just post code samples/traces inline instead of as attachments,
many people aren't going to go through the trouble of downloading
Anyway, looks like it's having a problem deserializing UsemeSession
from your @Basic mapping on ProjectRegistration.
I don't have any experience with using @Basic, what's the relationship
in your model between ProjectRegistration and UsemeSession? A
On Thu, Jan 1, 2009 at 9:44 AM, Joel Rosi-Schwartz
I've attached the entities. I am not casting at all as far as I can tell.But yes this seems weird to me :-(On 1 Jan 2009, at 14:23, Tim Hollosy wrote:Maybe post your entities? It looks like it's trying to do some weirdcasting..../tchOn Thu, Jan 1, 2009 at 9:21 AM, Joel Rosi-Schwartz<Joel.Rosi-Schwartz@xxxxxxxxx> wrote:Allow me to detail my environment as I should have done originally. I amusing "EclipseLink 1.0.2 OSGi Bundles" <eclipselink-plugins-1.0.2.zip> inanOSGi environment using Equinox 3.4.1.Thanks,JoelOn 31 Dec 2008, at 22:38, Joel Rosi-Schwartz wrote:Hi,I have Googled for an answer, but I do not even find any hints. WhathaveI done wrong to be getting the exception in the attached stacktrace.Many thanks,Joel<stacktrace.txt>_______________________________________________eclipselink-users mailing list_______________________________________________eclipselink-users mailing list_______________________________________________eclipselink-users mailing list_______________________________________________eclipselink-users mailing list_______________________________________________
eclipselink-users mailing list
Back to the top