setNumericObject for Types.BIT in PreparedStatement.java
"Giedt, Matt" <[email protected]> Tue, 12 Feb 2008 10:47:01 -0500
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <17C8BF87FD5238498A83034200664FB44E0B3F@MSGMROCLN2WIN.DMN1.FMR.COM> |
Hi Mark, I'm curious to your thoughts on adding logic to detirmine if the parameterObj is a String, also test for "1" instead of only "true". boolean parameterAsBoolean = "true".equalsIgnoreCase((String) parameterObj) || "1".equalsIgnoreCase((String) parameterObj); With thanks, -Matt