public class LocalDateTimeType extends AbstractDateTimeType<org.joda.time.LocalDateTime>
LocalDateTimeType maps LocalDateTime to Timestamp on the JDBC leveldateFormatter, dateTimeFormatter, timeFormatter| Constructor and Description |
|---|
LocalDateTimeType() |
LocalDateTimeType(int type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLiteral(org.joda.time.LocalDateTime value)
Get the literal representation
|
Class<org.joda.time.LocalDateTime> |
getReturnedClass()
Get the returned type
|
org.joda.time.LocalDateTime |
getValue(ResultSet rs,
int index)
Get the object from the result set
|
void |
setValue(PreparedStatement st,
int index,
org.joda.time.LocalDateTime value)
Set the object to the statement
|
utcgetSQLTypespublic LocalDateTimeType()
public LocalDateTimeType(int type)
public String getLiteral(org.joda.time.LocalDateTime value)
TypegetLiteral in interface Type<org.joda.time.LocalDateTime>getLiteral in class AbstractType<org.joda.time.LocalDateTime>value - valuepublic Class<org.joda.time.LocalDateTime> getReturnedClass()
Typepublic org.joda.time.LocalDateTime getValue(ResultSet rs, int index) throws SQLException
Typers - result setindex - column index in result setSQLExceptionpublic void setValue(PreparedStatement st, int index, org.joda.time.LocalDateTime value) throws SQLException
Typest - statementindex - column index in statementvalue - value to be setSQLExceptionCopyright © 2007–2018 Querydsl. All rights reserved.