Hi all,
I had a problem with Short CMP fields with JConnect JDBC driver for ASE/ASA. JConnect does not support setObject() method with Short Object type.
I had to change a source code (org.jboss.ejb.plugins.cmp.jdbc.JDBCUtils) in setParameter method a litle bit: I added one more case
case Types.SMALLINT: // due to setObject problem with JConnect if (value instanceof Short) { ps.setShort(index, ((Short)value).shortValue()); } else { ps.setObject(index, value, jdbcType); } break;
Bug reports and patches are submitted at http://sourceforge.net/projects/jboss.
Thanks.