-->
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.  [ 1 post ] 
Author Message
 Post subject: Empty strings inserted into secondary table on Oracle
PostPosted: Wed Apr 21, 2010 8:55 am 
Newbie

Joined: Wed Apr 21, 2010 8:39 am
Posts: 1
I was about to file a bug, but cannot believe no one else had this problem before and maybe I just dont know how to search...

Oracle 9.2.0.4.0, Hibernate 3.2.4.sp1: If an entity with empty string values for its sencondary table attributes is persisted, a row will be inserted into the secondary table even if the empty strings are converted to null by Oracle. If then updated, no row will be expected => trying to insert row again in secondary table => constraint violation.

Does anyone know anything about this problem?

Thanks

/PJ


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

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.