|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.gps.device.jdbc.dialect.DefaultJdbcDialect
public class DefaultJdbcDialect
| Constructor Summary | |
|---|---|
DefaultJdbcDialect()
|
|
| Method Summary | |
|---|---|
protected Long |
getBigIntAsLong(ResultSet rs,
ColumnMapping columnMapping)
|
protected Long |
getDateAsLong(ResultSet rs,
ColumnMapping columnMapping)
|
protected Long |
getIntegerAsLong(ResultSet rs,
ColumnMapping columnMapping)
|
protected Long |
getLong(ResultSet rs,
ColumnMapping columnMapping)
|
protected Long |
getNumericAsLong(ResultSet rs,
ColumnMapping columnMapping)
|
String |
getStringValue(ResultSet rs,
ColumnMapping mapping)
Returns the String value for the given column mapping. |
String |
getStringValue(ResultSet rs,
int columnIndex)
Returns the String value for the given column index. |
protected Long |
getTimeAsLong(ResultSet rs,
ColumnMapping columnMapping)
|
protected Long |
getTimestampAsLong(ResultSet rs,
ColumnMapping columnMapping)
|
Long |
getVersion(ResultSet rs,
VersionColumnMapping versionMapping)
Returns the version value of the given version mapping. |
void |
setParameter(PreparedStatement ps,
int paramIndex,
String value)
Sets the paremeter value for the given parameter index and the PreparedStatement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultJdbcDialect()
| Method Detail |
|---|
protected Long getIntegerAsLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
protected Long getNumericAsLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
protected Long getLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
protected Long getDateAsLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
protected Long getTimeAsLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
protected Long getTimestampAsLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
protected Long getBigIntAsLong(ResultSet rs,
ColumnMapping columnMapping)
throws SQLException
SQLException
public Long getVersion(ResultSet rs,
VersionColumnMapping versionMapping)
throws SQLException
JdbcDialect
getVersion in interface JdbcDialectSQLException
public void setParameter(PreparedStatement ps,
int paramIndex,
String value)
throws SQLException
JdbcDialectPreparedStatement.
setParameter in interface JdbcDialectSQLException
public String getStringValue(ResultSet rs,
ColumnMapping mapping)
throws SQLException
JdbcDialectnull if the column value is null.
getStringValue in interface JdbcDialectSQLException
public String getStringValue(ResultSet rs,
int columnIndex)
throws SQLException
JdbcDialectnull if the column value is null.
getStringValue in interface JdbcDialectSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||