public class HibernateEjb3Database extends HibernateDatabase
Database implementation for "ejb3" hibernate configurations.
| Modifiers | Name | Description |
|---|---|---|
protected EntityManagerFactory |
entityManagerFactory |
| Fields inherited from class | Fields |
|---|---|
class HibernateDatabase |
DEFAULT_SCHEMA, HIBERNATE_TEMP_USE_JDBC_METADATA_DEFAULTS, dialect |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected Metadata |
buildMetadataFromPath()Calls createEntityManagerFactoryBuilder() to create and save the entity manager factory. |
|
protected void |
configureSources(MetadataSources sources)Adds sources based on what is in the saved entityManagerFactory |
|
protected EntityManagerFactoryBuilderImpl |
createEntityManagerFactoryBuilder() |
|
protected java.lang.String |
findDialectName() |
|
protected java.lang.String |
getDefaultDatabaseProductName() |
|
public java.lang.String |
getProperty(java.lang.String name) |
|
public java.lang.String |
getShortName() |
|
public boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn) |
Calls createEntityManagerFactoryBuilder() to create and save the entity manager factory.
Adds sources based on what is in the saved entityManagerFactory