-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Updating a record with null values.
PostPosted: Sun Nov 21, 2004 1:40 pm 
Newbie

Joined: Thu Jun 17, 2004 1:09 pm
Posts: 9
I have a record in the system that can be NULL and has a currently value of 3 (lets say). The value is changed (in the bean) to NULL representing that the value no longer exists. When I call my update function, the field is not updated to the NULL value, but rather keeps the existing value.

Is it possible to change this implementation?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 21, 2004 2:50 pm 
Regular
Regular

Joined: Tue Jan 27, 2004 12:22 pm
Posts: 103
This is an error in your code. Please provide the information required to trace your problem, i.e.: mapping file, problem source code, generated sql and debug ... These are REQUIRED items when posting.

_________________
Dencel
- The sun has never seen a shadow -


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.