openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar" <ppod...@bea.com>
Subject RE: Collection (or Map) relationships and null
Date Mon, 11 Dec 2006 22:56:41 GMT
 >> Also, what happens when someone puts a bad value on the Collection 
>> (or Map).  For example, a null in the collection, or an entry in the 
>> map where the pk doesn't match the bean added.

Fields of Collection (or Map) type are proxied. To control if the proxy
allows incompatiable types be added, use 

openjpa.ProxyManager=default(AssertAllowedType=true)

By default, the flag is false. 


Pinaki Poddar
BEA Systems
415.402.7317  
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Mime
View raw message