public interface EntityManagerFactoryIntegrator
Modifier and Type | Method and Description |
---|---|
String |
getDbms(javax.persistence.EntityManagerFactory entityManagerFactory)
Returns the name of dbms for which the given entity manager factory operates.
|
JpaProviderFactory |
getJpaProviderFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
Returns the jpa provider factory for the jpa provider of the given entity manager factory.
|
Map<String,JpqlFunction> |
getRegisteredFunctions(javax.persistence.EntityManagerFactory entityManagerFactory)
Returns all registered functions as map with the function name as key and a
JpqlFunction . |
javax.persistence.EntityManagerFactory |
registerFunctions(javax.persistence.EntityManagerFactory entityManagerFactory,
Map<String,JpqlFunctionGroup> dbmsFunctions)
Registers the given functions under the given names on the given entity manager factory.
|
String getDbms(javax.persistence.EntityManagerFactory entityManagerFactory)
entityManagerFactory
- Then entity manager factory for which to retrieve the dbms fromJpaProviderFactory getJpaProviderFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
entityManagerFactory
- Then entity manager factory for which to retrieve jpa provider factory forjavax.persistence.EntityManagerFactory registerFunctions(javax.persistence.EntityManagerFactory entityManagerFactory, Map<String,JpqlFunctionGroup> dbmsFunctions)
entityManagerFactory
- The entity manager factory which should be enricheddbmsFunctions
- The functions for various dbmsMap<String,JpqlFunction> getRegisteredFunctions(javax.persistence.EntityManagerFactory entityManagerFactory)
JpqlFunction
.entityManagerFactory
- The entity manager factory which should be queriedCopyright © 2014–2018 Blazebit. All rights reserved.