-->
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: HELP: ORACLE BOOLEAN SUBSTITUTIONS (WRONG SOLUTION)
PostPosted: Mon Jan 29, 2007 9:50 am 
Newbie

Joined: Tue Dec 19, 2006 5:25 am
Posts: 9
Hello,

I am using Oracle 9i Database. Oracle doesn't let BOOLEAN type, but we want to convert VARCHAR2(5) ,in Database, into boolean in our POJOs.

I have read the reference documentation, and it advices this:
Code:
<property name="hibernate.query.substitutions">true "true", false "false"</property>


But, when I run the application, the error below is showed:

Code:
2007-01-29 14:40:31,958 INFO  [main](NullableType.java:132) - could not read column value from result set: LOCKED5_0_; Fallo al convertir a representación interna


Any ideas?

Thanks in advance.

Best regards.


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.