Example usage for org.hibernate.usertype UserType sqlTypes

List of usage examples for org.hibernate.usertype UserType sqlTypes

Introduction

In this page you can find the example usage for org.hibernate.usertype UserType sqlTypes.

Prototype

int[] sqlTypes();

Source Link

Document

Return the SQL type codes for the columns mapped by this type.

Usage

From source file:org.codekaizen.vtj.hibernate3.AbstractValueTypeUserTypeTest.java

License:Open Source License

@Test
public void shouldReturnOneSqlTypes() {
    UserType ut = this.newUserTypeInstance();
    assertEquals(ut.sqlTypes().length, 1);
}