Subject | Re: [Firebird-Java] Re: JBuilder DataSet Components and Firebird |
---|---|
Author | herbert.augustiny@sptroth.com |
Post date | 2002-12-11T13:12:14Z |
Hi
I have changed the method setObject(int parameterIndex, Object x, int
targetSqlType, int scale) in FBPreparedStatement to the following and as
far as I ran tests, the driver now works with the JBuilder tools...
public void setObject(int parameterIndex, Object x, int targetSqlType,
int scale) throws SQLException {
// this is a workaround, we ignore sqlType and scale
// hoping that nothing bad happens
setObject(parameterIndex, x);
}
I have seen that the method setObject(int parameterIndex, Object x, int
targetSqlType) has a similar workarround. Is there a chance that you commit
the driver with this new workarround to cvs?
Thanks and REgards,
Herbert
I have changed the method setObject(int parameterIndex, Object x, int
targetSqlType, int scale) in FBPreparedStatement to the following and as
far as I ran tests, the driver now works with the JBuilder tools...
public void setObject(int parameterIndex, Object x, int targetSqlType,
int scale) throws SQLException {
// this is a workaround, we ignore sqlType and scale
// hoping that nothing bad happens
setObject(parameterIndex, x);
}
I have seen that the method setObject(int parameterIndex, Object x, int
targetSqlType) has a similar workarround. Is there a chance that you commit
the driver with this new workarround to cvs?
Thanks and REgards,
Herbert