Example usage for org.hibernate.jpa.boot.spi PersistenceUnitDescriptor getName

List of usage examples for org.hibernate.jpa.boot.spi PersistenceUnitDescriptor getName

Introduction

In this page you can find the example usage for org.hibernate.jpa.boot.spi PersistenceUnitDescriptor getName.

Prototype

public String getName();

Source Link

Document

Get the persistence unit name,

Usage

From source file:com.eucalyptus.entities.impl.EucalyptusEntityManagerFactoryBuilderImpl.java

License:Open Source License

public EucalyptusEntityManagerFactoryBuilderImpl(final PersistenceUnitDescriptor persistenceUnit,
        final Map integrationSettings, final ClassLoader providedClassLoader) {
    super(persistenceUnit, integrationSettings, providedClassLoader);
    name = persistenceUnit.getName();
}