public class JDBCParameterInfo
extends java.lang.Object
java.sql.DriverPropertyInfo
.Constructor and Description |
---|
JDBCParameterInfo(java.sql.DriverPropertyInfo info)
Creates a new info using the details in the given DriverPropertyInfo
|
JDBCParameterInfo(java.lang.String name,
java.lang.String defaultValue)
Creates a new info with a simple name and default value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue()
Gets the default value for the parameter.
|
java.lang.String |
getName()
Gets the name of the parameter - i.e.
|
public JDBCParameterInfo(java.lang.String name, java.lang.String defaultValue)
name
- the name of the parameterdefaultValue
- a suggested default for the user to usepublic JDBCParameterInfo(java.sql.DriverPropertyInfo info)
info
- the parameter information from the jdbc driver.