|@Embeddable object how to discriminate for an object with blank field [message #669523]
||Tue, 10 May 2011 15:07
| Massimo Ugues
Registered: January 2011
I have an Embeddable object where every field is mapped to a CHAR column on DB.
When I have no data on DB eclipse-link recognizes this and does not instantiate the embeddable object.
But when I have some blank chars on one of the properties the object is created and every properties is defaulted to null (except the one with blank chars that is defaulted to "" since eclipselink trims the trailing blank).
Is possible to configure how eclipse-link should handle the creation of the embeddable object?
Powered by FUDForum
. Page generated in 0.13417 seconds