Example usage for org.hibernate.type PostgresUUIDType PostgresUUIDType

List of usage examples for org.hibernate.type PostgresUUIDType PostgresUUIDType

Introduction

In this page you can find the example usage for org.hibernate.type PostgresUUIDType PostgresUUIDType.

Prototype

public PostgresUUIDType() 

Source Link

Usage

From source file:com.shadows.liquiblq.data.hibernate.sets.base.BaseSet.java

public BaseSet() {
    Configuration configuration = new Configuration().configure();
    configuration.registerTypeOverride(new PostgresUUIDType());
    StandardServiceRegistry serviceRegistry = new StandardServiceRegistryBuilder()
            .applySettings(configuration.getProperties()).build();
    factory = configuration.configure().buildSessionFactory(serviceRegistry);
}