public static class DialectTest.MockResultSetMetadata extends DelegatingInvocationHandler
Constructor and Description |
---|
DialectTest.MockResultSetMetadata() |
Modifier and Type | Method and Description |
---|---|
ResultSetMetaData |
build() |
String |
getColumnName(int column)
Proxy for
ResultSetMetaData.getPrecision(int) . |
int |
getColumnType(int column)
Proxy for
ResultSetMetaData.getPrecision(int) . |
int |
getPrecision(int column)
Proxy for
ResultSetMetaData.getPrecision(int) . |
int |
getScale(int column)
Proxy for
ResultSetMetaData.getPrecision(int) . |
DialectTest.MockResultSetMetadata |
withColumnName(String setColumnName) |
DialectTest.MockResultSetMetadata |
withColumnType(int setColumnType) |
DialectTest.MockResultSetMetadata |
withPrecision(int setPrecision) |
DialectTest.MockResultSetMetadata |
withScale(int setScale) |
getTarget, invoke
public DialectTest.MockResultSetMetadata withPrecision(int setPrecision)
public DialectTest.MockResultSetMetadata withScale(int setScale)
public DialectTest.MockResultSetMetadata withColumnType(int setColumnType)
public DialectTest.MockResultSetMetadata withColumnName(String setColumnName)
public ResultSetMetaData build()
public int getPrecision(int column) throws SQLException
ResultSetMetaData.getPrecision(int)
.SQLException
public String getColumnName(int column) throws SQLException
ResultSetMetaData.getPrecision(int)
.SQLException
public int getColumnType(int column) throws SQLException
ResultSetMetaData.getPrecision(int)
.SQLException
public int getScale(int column) throws SQLException
ResultSetMetaData.getPrecision(int)
.SQLException