net.java.ao
Interface EntityManagerConfiguration


public interface EntityManagerConfiguration

This represents a configuration for entity manager creation.


Method Summary
 EntityInfoResolverFactory getEntityInfoResolverFactory()
          Gets a EntityInfo factory to use when parsing the schema configuration annotated on the entity type
 NameConverters getNameConverters()
          Gets the name converters to be used with the (to be) configured EntityManager.
 SchemaConfiguration getSchemaConfiguration()
          Gets the schema configuration to be used with the (to be) configured EntityManager
 boolean useWeakCache()
          Deprecated. since 0.25. EntityManager now no longer caches.
 

Method Detail

useWeakCache

@Deprecated
boolean useWeakCache()
Deprecated. since 0.25. EntityManager now no longer caches.


getNameConverters

NameConverters getNameConverters()
Gets the name converters to be used with the (to be) configured EntityManager.

Returns:
a non-null name converter

getSchemaConfiguration

SchemaConfiguration getSchemaConfiguration()
Gets the schema configuration to be used with the (to be) configured EntityManager

Returns:
a non-null schema configuration

getEntityInfoResolverFactory

EntityInfoResolverFactory getEntityInfoResolverFactory()
Gets a EntityInfo factory to use when parsing the schema configuration annotated on the entity type

Returns:
a non-null EntityInfo factory


Copyright © 2007-2014. All Rights Reserved.