openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerlex <ger...@de.ibm.com>
Subject Re: Problem with merge
Date Thu, 19 Feb 2009 17:09:49 GMT

WAS 6.1.0.19
OpenJPA 1.03


Gerlex wrote:
> 
> Hello together,
> 
> I have one big problem!!!
> 
> I want to update an Persistent-Entity with the merge-method and it doesn't
> update the attributes, 
> which I have set to null.
> 
> For example:
> 
> 1. I load one Object from the database 
> 2. I set one attribute for example the date or a String to null
> 3. I merge this object 
> 4. The database doesn't update the date
> 
> When I load this object again, there is the same date than before.
> 
> the attributes are nullable 
> 
> 
> The Environment:
> 
> Websphere 6
> Database DB2
>  
> 
> 
> 
> 
>  
> 

-- 
View this message in context: http://n2.nabble.com/Problem-with-merge-tp2353521p2354124.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.


Mime
View raw message