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

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

Introduction

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

Prototype

public List<String> getManagedClassNames();

Source Link

Usage

From source file:org.rapidoid.jpa.CustomDescriptor.java

License:Apache License

public CustomDescriptor(PersistenceUnitDescriptor descriptor, List<String> names) {
    this.descriptor = descriptor;
    this.names = names;
    this.names.addAll(U.safe(descriptor.getManagedClassNames()));
}