Hello,
the java.sql.BOOLEAN is new in JDBC 3.0. When you use jdk's with version
number < 1.4 you cannot use this new type "java.sql.BOOLEAN". Therefor
getColums() returns java.sql.Types.BIT because it works with all jdk's.

Regards, 
Marco

> -----Original Message-----
> From: Robert Kr�ger [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 10. Juni 2002 10:21
> To: [EMAIL PROTECTED]
> Subject: JDBC DatabaseMetaData question
> 
> 
> 
> Hi,
> 
> the DatabaseMetaData.getColums() method returns 
> java.sql.Types.BIT as type 
> code for BOOLEAN columns. Is this intentional or should this be 
> java.sql.Types.BOOLEAN?
> 
> Regards,
> 
> Robert
> 
>  
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to