Example usage for org.hibernate SessionFactory getTypeHelper

List of usage examples for org.hibernate SessionFactory getTypeHelper

Introduction

In this page you can find the example usage for org.hibernate SessionFactory getTypeHelper.

Prototype

TypeHelper getTypeHelper();

Source Link

Document

Retrieve this factory's TypeHelper .

Usage

From source file:tools.xor.util.Hibernate4Support.java

License:Apache License

@Override
public Type getEntityType(SessionFactory sessionFactory, String entityName) {
    return sessionFactory.getTypeHelper().entity(entityName);
}