net.sf.farrago.jdbc.param
Class FarragoJdbcStringParamDef
java.lang.Object
net.sf.farrago.jdbc.param.FarragoJdbcParamDef
net.sf.farrago.jdbc.param.FarragoJdbcStringParamDef
class FarragoJdbcStringParamDef
- extends FarragoJdbcParamDef
FarragoJdbcEngineStringParamDef defines a string parameter. Values which are
not strings are converted into strings. Strings are not padded, even for CHAR
columns. This class is JDK 1.4 compatible.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/jdbc/param/FarragoJdbcStringParamDef.java#9 $
- Author:
- Julian Hyde
Methods inherited from class net.sf.farrago.jdbc.param.FarragoJdbcParamDef |
checkNullable, checkRange, checkRange, checkRange, getParamMetaData, getParamName, newInvalidFormat, newInvalidType, newNotNullable, newValueOutOfRange, newValueTooLong, scrubValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxCharCount
private final int maxCharCount
FarragoJdbcStringParamDef
public FarragoJdbcStringParamDef(String paramName,
FarragoParamFieldMetaData paramMetaData)
scrubValue
public Object scrubValue(Object x)
- Overrides:
scrubValue
in class FarragoJdbcParamDef