| Modifier and Type | Field and Description |
|---|---|
| public static final Map | |
| protected static final String[][] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | addEntityManagerSetupImpl(String name, EntityManagerSetupImpl setup)
Add an EntityManagerSetupImpl to the cached list These are used to ensure all persistence units that are the same get the same underlying session |
| protected static void | generateDefaultTables(SchemaManager mgr, EntityManagerSetupImpl.
- ddl operation to be performed ddlTypeCalls the appropriate create,replace or alter SchemaManager api. |
| protected static Object | |
| protected static Object | |
| protected static Object | |
| public static String | |
| public static String | getConfigPropertyAsString(String propertyKey, Map<K, V> overrides, String defaultValue)
Check the provided map for an object with the given key. |
| protected static String | |
| protected static String | getConfigPropertyAsStringLogDebug(String propertyKey, Map<K, V> overrides, AbstractSession session, boolean useSystemAsDefault)
|
| protected static String | getConfigPropertyAsStringLogDebug(String propertyKey, Map<K, V> overrides, String defaultValue, AbstractSession session)
|
| protected static Object | |
| protected static Object | getConfigPropertyLogDebug(String propertyKey, Map<K, V> overrides, AbstractSession session, boolean useSystemAsDefault)
|
| public static Map | |
| public static EntityManagerSetupImpl | |
| public static boolean | |
| public static <K, V> Map | Returns: the target objecttarget contains the entries from source with keysToBeKept. |
| protected static void | login(DatabaseSessionImpl
The session to login to. session, Map<K, V> User specified properties for the persistence unit properties, boolean requiresConnection)Logs in to given session. |
| public static <K, V> Map | |
| public static <K, V> Map | Returns: the target objectCopies source into target, removes from target all keysToBeRemoved. |
| public static <K, V> Map | Returns: the target object is array of Maps of size n+1is array of Maps of size n keys)Source Map is divided between Map[] in target. |
| public static <K, V> Map | Returns: the target objecttarget is a array of two Maps the first one contains specified properties; the second all the rest. |
| protected static void | translateOldProperties(Map<K, V> m, AbstractSession session)
This is a TEMPORARY method that will be removed. |
| protected static void |
| emSetupImpls | back to summary |
|---|---|
| public static final Map<String, EntityManagerSetupImpl> emSetupImpls | |
| oldPropertyNames | back to summary |
|---|---|
| protected static final String[][] oldPropertyNames | |
| EntityManagerFactoryProvider | back to summary |
|---|---|
| public EntityManagerFactoryProvider() Default constructor to allow reflection. | |
| addEntityManagerSetupImpl | back to summary |
|---|---|
| public static void addEntityManagerSetupImpl(String name, EntityManagerSetupImpl setup) Add an EntityManagerSetupImpl to the cached list These are used to ensure all persistence units that are the same get the same underlying session | |
| generateDefaultTables | back to summary |
|---|---|
| protected static void generateDefaultTables(SchemaManager mgr, EntityManagerSetupImpl. Calls the appropriate create,replace or alter SchemaManager api.
| |
| getConfigProperty | back to summary |
|---|---|
| protected static Object getConfigProperty(String propertyKey, Map<K, V> overrides) | |
| getConfigProperty | back to summary |
|---|---|
| protected static Object getConfigProperty(String propertyKey, Map<K, V> overrides, boolean useSystemAsDefault) | |
| getConfigProperty | back to summary |
|---|---|
| protected static Object getConfigProperty(String propertyKey, Map<K, V> overrides, Object defaultObj) | |
| getConfigPropertyAsString | back to summary |
|---|---|
| public static String getConfigPropertyAsString(final String propertyKey, final Map<K, V> overrides) Get configuration | |
| getConfigPropertyAsString | back to summary |
|---|---|
| public static String getConfigPropertyAsString(String propertyKey, Map<K, V> overrides, String defaultValue) Check the provided map for an object with the given key. If that object is not available, check the System properties. If it is not available from either location, return the default value. | |
| getConfigPropertyAsStringLogDebug | back to summary |
|---|---|
| protected static String getConfigPropertyAsStringLogDebug(String propertyKey, Map<K, V> overrides, AbstractSession session) | |
| getConfigPropertyAsStringLogDebug | back to summary |
|---|---|
| protected static String getConfigPropertyAsStringLogDebug(String propertyKey, Map<K, V> overrides, AbstractSession session, boolean useSystemAsDefault) | |
| getConfigPropertyAsStringLogDebug | back to summary |
|---|---|
| protected static String getConfigPropertyAsStringLogDebug(String propertyKey, Map<K, V> overrides, String defaultValue, AbstractSession session) | |
| getConfigPropertyLogDebug | back to summary |
|---|---|
| protected static Object getConfigPropertyLogDebug(String propertyKey, Map<K, V> overrides, AbstractSession session) | |
| getConfigPropertyLogDebug | back to summary |
|---|---|
| protected static Object getConfigPropertyLogDebug(String propertyKey, Map<K, V> overrides, AbstractSession session, boolean useSystemAsDefault) | |
| getEmSetupImpls | back to summary |
|---|---|
| public static Map | |
| getEntityManagerSetupImpl | back to summary |
|---|---|
| public static EntityManagerSetupImpl getEntityManagerSetupImpl(String emName) Return the setup class for a given entity manager name | |
| hasConfigProperty | back to summary |
|---|---|
| public static boolean hasConfigProperty(String propertyKey, Map<K, V> overrides) | |
| keepSpecifiedProperties | back to summary |
|---|---|
| public static <K, V> Map target contains the entries from source with keysToBeKept.
| |
| login | back to summary |
|---|---|
| protected static void login(DatabaseSessionImpl session, Map<K, V> properties, boolean requiresConnection) Logs in to given session. If user has not specified
| |
| mergeMaps | back to summary |
|---|---|
| public static <K, V> Map Merge the properties from the source object into the target object. If the property exists in both objects, use the one from the target
| |
| removeSpecifiedProperties | back to summary |
|---|---|
| public static <K, V> Map Copies source into target, removes from target all keysToBeRemoved.
| |
| splitProperties | back to summary |
|---|---|
| public static <K, V> Map Source Map is divided between Map[] in target. Target's i-th member contains all source's Map.Entries keys for which are in keys[i] Collection. Target's size equals keys' size + 1: all the source's Map.Entries not found in any of keys Collections go into the last target's map.
| |
| splitSpecifiedProperties | back to summary |
|---|---|
| public static <K, V> Map target is a array of two Maps the first one contains specified properties; the second all the rest.
| |
| translateOldProperties | back to summary |
|---|---|
| protected static void translateOldProperties(Map<K, V> m, AbstractSession session) This is a TEMPORARY method that will be removed. DON'T USE THIS METHOD - for internal use only. | |
| warnOldProperties | back to summary |
|---|---|
| protected static void warnOldProperties(Map<K, V> m, AbstractSession session) | |