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

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