-->
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: Hibernate true_false mapping type
PostPosted: Fri Sep 17, 2010 10:08 am 
Newbie

Joined: Thu Oct 29, 2009 5:25 pm
Posts: 2
So I have an issue with conversion of boolean types when dealing with an oracle 11g database. It appears that when a boolean type is mapped to type="true_false" it inserts a uppercase T or F in database instead of a desired lowercase t or f. I have set my query substitions to true='t' and false='f' but records are still getting inserted with these uppercase values. So here is my question: Is there any way to configure hibernate to use lowercase 't' or 'f' when inserting into the DB?


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.