super(field);
this(field, platform, false);
this(field); this.isCursor = isCursor; prepare(platform);
super(outParameter.obj); this.isCursor = outParameter.isCursor; this.jdbcType = outParameter.jdbcType; this.typeName = outParameter.typeName; this.isTypeNameRequired = outParameter.isTypeNameRequired;
return jdbcType;
return (DatabaseField)obj;
return typeName;
return isCursor;
return isTypeNameRequired;
if (isCursor()) { jdbcType = platform.getCursorCode();// Oracle code for cursors } else { jdbcType = platform.getJDBCType(getOutputField()); isTypeNameRequired = platform.requiresTypeNameToRegisterOutputParameter(); if (isTypeNameRequired) { typeName = platform.getJdbcTypeName(jdbcType); } }
if (isTypeNameRequired) { ((CallableStatement)statement).registerOutParameter(index, jdbcType, typeName); } else { ((CallableStatement)statement).registerOutParameter(index, jdbcType); }
this.isCursor = isCursor;
return "=> " + getOutputField().getName();