InOutputParameterForCallableStatementpublic class InOutputParameterForCallableStatement extends OutputParameterForCallableStatement
Fields Summary |
---|
protected Object | inParameter |
Constructors Summary |
---|
public InOutputParameterForCallableStatement(Object inParameter, OutputParameterForCallableStatement outParameter)
super(outParameter);
if (inParameter == null) {
this.inParameter = getOutputField();
} else {
this.inParameter = inParameter;
}
| public InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, DatabasePlatform platform)
if ((outField.getType() == null) && (inParameter != null)) {
DatabaseField typeField = (DatabaseField)outField.clone();
if (inParameter instanceof DatabaseField) {
typeField.setType(((DatabaseField)inParameter).getType());
} else {
typeField.setType(inParameter.getClass());
}
outField = typeField;
}
obj = outField;
prepare(platform);
if (inParameter == null) {
this.inParameter = getOutputField();
} else {
this.inParameter = inParameter;
}
|
|