dbTalk Databases Forums  

Re: [BUGS] JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN)

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN) in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris Jurka
 
Posts: n/a

Default Re: [BUGS] JDBC driver bug PreparedStatement.setNull(int,Types.BOOLEAN) - 11-10-2006 , 08:22 AM








On Wed, 8 Nov 2006, David Green wrote:

Quote:
the JDBC driver does not handle setNull for boolean types.

the switch statement in setNull should be expanded with a case that
checks for Types.BOOLEAN

The JDBC2 driver does not handle Types.BOOLEAN because that was added in
JDBC3. See org.postgresql.jdbc3.AbstractJdbc3Statement#setNul l to see how
this is handled. I don't believe there's any problem with it.

Kris Jurka


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.