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

The following examples show how to use com.j256.ormlite.field.SqlType#STRING . 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: geopackage-core-java   File: DatePersister.java    License: MIT License 4 votes vote down vote up
/**
 * Constructor
 */
private DatePersister() {
	super(SqlType.STRING, new Class<?>[] { Date.class });
}
 
Example 2
Source Project: ormlite-core   File: NullArgHolder.java    License: ISC License 4 votes vote down vote up
@Override
public SqlType getSqlType() {
	// we use this as our default because it should work with all SQL engines
	return SqlType.STRING;
}
 
Example 3
Source Project: ormlite-core   File: UuidType.java    License: ISC License 4 votes vote down vote up
private UuidType() {
	super(SqlType.STRING, new Class<?>[] { UUID.class });
}
 
Example 4
Source Project: ormlite-core   File: StringType.java    License: ISC License 4 votes vote down vote up
private StringType() {
	super(SqlType.STRING, new Class<?>[] { String.class });
}
 
Example 5
Source Project: ormlite-core   File: TimeStampStringType.java    License: ISC License 4 votes vote down vote up
private TimeStampStringType() {
	super(SqlType.STRING);
}
 
Example 6
Source Project: ormlite-core   File: BigDecimalStringType.java    License: ISC License 4 votes vote down vote up
private BigDecimalStringType() {
	super(SqlType.STRING, new Class<?>[] { BigDecimal.class });
}
 
Example 7
Source Project: ormlite-core   File: SqlDateStringType.java    License: ISC License 4 votes vote down vote up
private SqlDateStringType() {
	super(SqlType.STRING);
}
 
Example 8
Source Project: ormlite-core   File: EnumToStringType.java    License: ISC License 4 votes vote down vote up
private EnumToStringType() {
	super(SqlType.STRING, new Class<?>[] { Enum.class });
}
 
Example 9
Source Project: ormlite-core   File: BigIntegerType.java    License: ISC License 4 votes vote down vote up
protected BigIntegerType() {
	super(SqlType.STRING, new Class<?>[] { BigInteger.class });
}
 
Example 10
Source Project: ormlite-core   File: DateStringType.java    License: ISC License 4 votes vote down vote up
private DateStringType() {
	super(SqlType.STRING);
}
 
Example 11
Source Project: ormlite-core   File: EnumStringType.java    License: ISC License 4 votes vote down vote up
private EnumStringType() {
	super(SqlType.STRING, new Class<?>[] { Enum.class });
}
 
Example 12
Source Project: ormlite-core   File: CreateOrUpdateTest.java    License: ISC License 4 votes vote down vote up
private EntityIdType() {
	super(SqlType.STRING, new Class<?>[] { EntityId.class });
}
 
Example 13
Source Project: ormlite-core   File: EnumToStringTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new EnumToStringType(SqlType.STRING, new Class[0]);
}
 
Example 14
Source Project: ormlite-core   File: BigDecimalStringTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new BigDecimalStringType(SqlType.STRING, new Class[0]);
}
 
Example 15
Source Project: ormlite-core   File: DateStringTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new DateStringType(SqlType.STRING, new Class[0]);
}
 
Example 16
Source Project: ormlite-core   File: UuidTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new UuidType(SqlType.STRING, new Class[0]);
}
 
Example 17
Source Project: ormlite-core   File: EnumStringTypeTest.java    License: ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new EnumStringType(SqlType.STRING, new Class[0]);
}