Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] PROGRESS: Sv: Re: Value of DiscriminatorValue not persisted

På tirsdag 20. august 2013 kl. 14:46:40, skrev Guy Pelletier <guy.pelletier@xxxxxxxxxx>:
Andreas,

Did you try removing the abstract declaration on EmailPart?
 
No, I will try it.
But this works when persisting objects of type EmailSinglePart in other places of the application so it would be nice to understand what's going on. I really don't want programmers to be able to instantiate EmailPart directly so I'd prefer if it could remain abstract but will test to see if it helps.
 
Do you have any pointers to where ObjectBuilder.descriptor is created so I can see why EmailPart.class is used and not EmailSinglePart.class?
 
Thanks.
 
--
Andreas Joseph Krogh <andreak@xxxxxxxxxxxx>      mob: +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc
 

Back to the top