[jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-08-19 Thread Knut Anders Hatlen (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1500?page=comments#action_12429195 ] Knut Anders Hatlen commented on DERBY-1500: --- Derby Network Client and JCC already work correctly. I will fix the embedded driver.

Re: [jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-08-02 Thread Lance J. Andersen
I updated the JDBC 4 spec data conversion tables for Short and Byte so I would add support for  them when u can -lance Markus Fuchs (JIRA) wrote: [ http://issues.apache.org/jira/browse/DERBY-1500?page=comments#action_12424627 ] Markus Fuchs commented on DERBY-1500:

[jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-07-31 Thread Markus Fuchs (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1500?page=comments#action_12424612 ] Markus Fuchs commented on DERBY-1500: - Hi Daniel, 1) java.lang.Short is not a valid object mapping for SMALLINT: Why do I get the same exception on

[jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-07-31 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1500?page=comments#action_12424621 ] Daniel John Debrunner commented on DERBY-1500: -- Markus wrote: Also, why does stmnt.setShort(1, Short.valueOf(0)) work in this case? Because that's

[jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-07-31 Thread Markus Fuchs (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1500?page=comments#action_12424627 ] Markus Fuchs commented on DERBY-1500: - This behavior is apparantly implemented by many major database vendors, e.g. Oracle, SQLServer, Sybase, and the Derby

Re: [jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-07-31 Thread Lance J. Andersen
I am not sure why java.lang.Short is not covered in the conversion tables in the JDBC spec.  Probably an oversite or just a spec bug.  It is reasonable to  be supported since the other conversions are supported. I will discuss with the EG. Markus Fuchs (JIRA) wrote: [

[jira] Commented: (DERBY-1500) PreparedStatement#setObject(int parameterIndex, Object x) throws SQL Exception when binding Short value in embedded mode

2006-07-18 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1500?page=comments#action_12421943 ] Daniel John Debrunner commented on DERBY-1500: -- java.lang.Short is not a valid object mapping for SMALLINT, JDBC defines the mapping as