I had this problem aswell, and i belive that the postgres
JDBC2 driver is to blame.

A quick fix to the problem is to edit the ResultSet.java file
in the Postgres driver source.

Change the line:
 return ((c == 't') || (c == 'T'));
int the getBoolean function on line 184:ish to:
 return ((c == 't') || (c == 'T') (c == '1'));


This solved the problem for me... thank god for OpenSource.

</christofer>

On 09 Apr 2001 12:00:14 -0700, Philip Craven wrote:
> I have a CMP bean that has a boolean variable.  Before
> jboss is started, the value in the postgres database
> is 1 (true), after I start postgres and the bean is
> loaded, the value goes to false, and the database is
> updated to reflect this.  What do I have
> misconfigured?  
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to