You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Cosmin <co...@intrasoft-intl.com> on 2009/04/06 15:12:20 UTC

Re: Convert boolean to String type using ExternalValues

Hi,

I have a situation where I need to map a Boolean with ExternalValues. The problem is that the fiels has to be nullable and when it is null the mapping fails. An OpenJPA error is thrown saying that the null value is unknown.

I tried mapping null=null. Not working. I need the mapping only for true and false. When the object is null I need to update the db with null.

Anybody... any ideas?

Thanks!
-- 
View this message in context: http://n2.nabble.com/Convert-boolean-to-String-type-using-ExternalValues-tp1659239p2592990.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.