public class LocalDateTimeType extends AbstractJodaTimeDateTimeType<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 |
|---|---|
java.lang.String |
getLiteral(org.joda.time.LocalDateTime value)
Get the literal representation
|
java.lang.Class<org.joda.time.LocalDateTime> |
getReturnedClass()
Get the returned type
|
org.joda.time.LocalDateTime |
getValue(java.sql.ResultSet rs,
int index)
Get the object from the result set
|
void |
setValue(java.sql.PreparedStatement st,
int index,
org.joda.time.LocalDateTime value)
Set the object to the statement
|
utcgetSQLTypespublic LocalDateTimeType()
public LocalDateTimeType(int type)
public java.lang.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 java.lang.Class<org.joda.time.LocalDateTime> getReturnedClass()
Typepublic org.joda.time.LocalDateTime getValue(java.sql.ResultSet rs,
int index)
throws java.sql.SQLException
Typers - result setindex - column index in result setjava.sql.SQLExceptionpublic void setValue(java.sql.PreparedStatement st,
int index,
org.joda.time.LocalDateTime value)
throws java.sql.SQLException
Typest - statementindex - column index in statementvalue - value to be setjava.sql.SQLExceptionCopyright © 2007–2021 Querydsl. All rights reserved.