mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal support
This commit is contained in:
@ -251,7 +251,11 @@ public class PreparedStatement extends Statement implements java.sql.PreparedSta
|
||||
*/
|
||||
public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
|
||||
{
|
||||
if (x == null) {
|
||||
setNull(parameterIndex, Types.OTHER);
|
||||
} else {
|
||||
set(parameterIndex, x.toString());
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user