@Override public int isNullable(int index) throws SQLException { return getParam(index).isNullable() ? ResultSetMetaData.columnNullable : ResultSetMetaData.columnNoNulls; }
@Override public boolean isSigned(int index) throws SQLException { @SuppressWarnings("rawtypes") Class clazz = getParam(index).getDataType().getJavaClass(); return Number.class.isInstance(clazz); }
@Override public String getParameterClassName(int index) throws SQLException { PDatum datum = getParam(index); PDataType type = datum == null ? null : datum.getDataType(); return type == null ? null : type.getJavaClassName(); }
@Override public String getParameterTypeName(int index) throws SQLException { return getParam(index).getDataType().getSqlTypeName(); }
@Override public int getParameterType(int index) throws SQLException { return getParam(index).getDataType().getSqlType(); }
@Override public int isNullable(int index) throws SQLException { return getParam(index).isNullable() ? ResultSetMetaData.columnNullable : ResultSetMetaData.columnNoNulls; }
@Override public int isNullable(int index) throws SQLException { return getParam(index).isNullable() ? ResultSetMetaData.columnNullable : ResultSetMetaData.columnNoNulls; }
@Override public boolean isSigned(int index) throws SQLException { @SuppressWarnings("rawtypes") Class clazz = getParam(index).getDataType().getJavaClass(); return Number.class.isInstance(clazz); }
@Override public boolean isSigned(int index) throws SQLException { @SuppressWarnings("rawtypes") Class clazz = getParam(index).getDataType().getJavaClass(); return Number.class.isInstance(clazz); }
@Override public int getParameterType(int index) throws SQLException { return getParam(index).getDataType().getSqlType(); }
@Override public String getParameterClassName(int index) throws SQLException { PDatum datum = getParam(index); PDataType type = datum == null ? null : datum.getDataType(); return type == null ? null : type.getJavaClassName(); }
@Override public String getParameterTypeName(int index) throws SQLException { return getParam(index).getDataType().getSqlTypeName(); }
@Override public String getParameterClassName(int index) throws SQLException { PDatum datum = getParam(index); PDataType type = datum == null ? null : datum.getDataType(); return type == null ? null : type.getJavaClassName(); }
@Override public int getParameterType(int index) throws SQLException { return getParam(index).getDataType().getSqlType(); }
@Override public String getParameterTypeName(int index) throws SQLException { return getParam(index).getDataType().getSqlTypeName(); }