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

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