public class Oracle_TimestampLtzValueAccessor extends OtherValueAccessor
| Modifier and Type | Field and Description |
|---|---|
static int |
JDBC_TYPE_TIMESTAMPLTZ |
LOGGER| Constructor and Description |
|---|
Oracle_TimestampLtzValueAccessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getJavaType(BaseElement elem) |
int |
getJdbcType() |
java.lang.Object |
getRowValue(java.sql.ResultSet rs,
BaseElement elem)
Returns a query result value corresponding with a
elem from rs. |
void |
setParameter(java.sql.PreparedStatement ps,
int pos,
java.lang.Object value)
Sets the query parameter value corresponding with
pos. |
getParameterExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassForColumnClassNamepublic static final int JDBC_TYPE_TIMESTAMPLTZ
public int getJdbcType()
getJdbcType in interface ValueAccessorgetJdbcType in class OtherValueAccessorTypes id this accessor handles.public java.lang.Class<?> getJavaType(BaseElement elem)
getJavaType in interface ValueAccessorgetJavaType in class OtherValueAccessorjava.sql.Types#CLOB maps to java.sql.CLOB (appendix
table B.3 from the JDBC 4.2 specification) the actual type generated for CLOB is String.public java.lang.Object getRowValue(java.sql.ResultSet rs,
BaseElement elem)
throws java.sql.SQLException
ValueAccessorelem from rs.getRowValue in interface ValueAccessorgetRowValue in class OtherValueAccessorrs - The result set containing rows of column valueselem - The query column from which to find a valueelem. Note, the type of the value must match the Java type returned from
elem.getType().java.sql.SQLExceptionpublic void setParameter(java.sql.PreparedStatement ps,
int pos,
java.lang.Object value)
throws java.sql.SQLException
ValueAccessorpos.setParameter in interface ValueAccessorsetParameter in class OtherValueAccessorps - The prepared statement containing the parameterized query.pos - The index of the parameter, beginning with 1.value - The value of the parameterjava.sql.SQLExceptionCopyright © 2023. All rights reserved.