Example usage for org.hibernate.type.descriptor.sql LongVarbinaryTypeDescriptor INSTANCE

List of usage examples for org.hibernate.type.descriptor.sql LongVarbinaryTypeDescriptor INSTANCE

Introduction

In this page you can find the example usage for org.hibernate.type.descriptor.sql LongVarbinaryTypeDescriptor INSTANCE.

Prototype

LongVarbinaryTypeDescriptor INSTANCE

To view the source code for org.hibernate.type.descriptor.sql LongVarbinaryTypeDescriptor INSTANCE.

Click Source Link

Usage

From source file:com.evolveum.midpoint.repo.sql.util.MidPointPostgreSQLDialect.java

License:Apache License

@Override
public SqlTypeDescriptor getSqlTypeDescriptorOverride(int sqlCode) {
    if (Types.BLOB == sqlCode) {
        return LongVarbinaryTypeDescriptor.INSTANCE;
    }/*from  ww w  .j a  v  a2s.  c o  m*/

    return super.getSqlTypeDescriptorOverride(sqlCode);
}