Java Code Examples for com.j256.ormlite.field.SqlType#DATE

The following examples show how to use com.j256.ormlite.field.SqlType#DATE . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: ormlite-jdbc   File: MyDatePersister.java    License: ISC License 4 votes vote down vote up
private MyDatePersister() {
	super(SqlType.DATE, new Class<?>[] { Date.class });
}
 
Example 2
Source Project: ormlite-core   File: DateType.java    License: ISC License 4 votes vote down vote up
private DateType() {
	super(SqlType.DATE, new Class<?>[] { java.util.Date.class });
}
 
Example 3
Source Project: ormlite-core   File: TimeStampType.java    License: ISC License 4 votes vote down vote up
private TimeStampType() {
	super(SqlType.DATE, new Class<?>[] { java.sql.Timestamp.class });
}
 
Example 4
Source Project: ormlite-core   File: SqlDateType.java    License: ISC License 4 votes vote down vote up
private SqlDateType() {
	super(SqlType.DATE, new Class<?>[] { java.sql.Date.class });
}
 
Example 5
Source Project: ormlite-core   File: TimeStampTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new TimeStampType(SqlType.DATE, new Class[0]);
}
 
Example 6
Source Project: ormlite-core   File: TimeStampTypeTest.java    License: ISC License 4 votes vote down vote up
public LocalCurrentTimeStampType() {
	super(SqlType.DATE, new Class<?>[] { java.sql.Timestamp.class });
}
 
Example 7
Source Project: ormlite-core   File: SqlDateTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new SqlDateType(SqlType.DATE, new Class[0]);
}