下面列出了怎么用org.hibernate.type.descriptor.sql.TimestampTypeDescriptor的API类实例代码及写法,或者点击链接到github查看源代码。
public YearMonthTimestampType(Configuration configuration) {
super(
TimestampTypeDescriptor.INSTANCE,
YearMonthTypeDescriptor.INSTANCE,
configuration
);
}
public CalendarType() {
super( TimestampTypeDescriptor.INSTANCE, CalendarTypeDescriptor.INSTANCE );
}
public InstantType() {
super( TimestampTypeDescriptor.INSTANCE, InstantJavaDescriptor.INSTANCE );
}
public ZonedDateTimeType() {
super( TimestampTypeDescriptor.INSTANCE, ZonedDateTimeJavaDescriptor.INSTANCE );
}
public TimestampType() {
super( TimestampTypeDescriptor.INSTANCE, JdbcTimestampTypeDescriptor.INSTANCE );
}
public LocalDateTimeType() {
super( TimestampTypeDescriptor.INSTANCE, LocalDateTimeJavaDescriptor.INSTANCE );
}
public OffsetDateTimeType() {
super( TimestampTypeDescriptor.INSTANCE, OffsetDateTimeJavaDescriptor.INSTANCE );
}
public YearMonthTimestampType() {
super(
TimestampTypeDescriptor.INSTANCE,
YearMonthTypeDescriptor.INSTANCE
);
}
public InstantType() {
super(TimestampTypeDescriptor.INSTANCE, InstantTypeDescriptor.INSTANCE);
}
public InstantType() {
super(TimestampTypeDescriptor.INSTANCE, InstantTypeDescriptor.INSTANCE);
}