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

The following examples show how to use com.j256.ormlite.field.SqlType#BYTE . 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: SqlServerDatabaseType.java    From ormlite-jdbc with ISC License 4 votes vote down vote up
@Override
public SqlType getSqlType() {
	// store it as a short
	return SqlType.BYTE;
}
 
Example 2
Source File: ByteType.java    From ormlite-core with ISC License 4 votes vote down vote up
private ByteType() {
	super(SqlType.BYTE, new Class<?>[] { byte.class });
}
 
Example 3
Source File: ByteObjectType.java    From ormlite-core with ISC License 4 votes vote down vote up
private ByteObjectType() {
	super(SqlType.BYTE, new Class<?>[] { Byte.class });
}
 
Example 4
Source File: BaseDatabaseType.java    From ormlite-core with ISC License 4 votes vote down vote up
@Override
public SqlType getSqlType() {
	return SqlType.BYTE;
}
 
Example 5
Source File: ByteTypeTest.java    From ormlite-core with ISC License 4 votes vote down vote up
@Test
public void testCoverage() {
	new ByteType(SqlType.BYTE, new Class[0]);
}