Class OracleConnectionSchemaInitializer
java.lang.Object
com.broadleafcommerce.common.jpa.data.OracleConnectionSchemaInitializer
- All Implemented Interfaces:
ConnectionSchemaInitializer,org.springframework.core.Ordered
public class OracleConnectionSchemaInitializer
extends Object
implements ConnectionSchemaInitializer
Oracle specific version of
ConnectionSchemaInitializer- Author:
- Jeff Fischer
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionOracleConnectionSchemaInitializer(ConnectionProperties connectionProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDriverFromUrl(String url) intgetOrder()booleaninitialize(Connection toInitialize, String schema) Initialize the connection, setting the current schema for the connection session.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.common.jpa.data.ConnectionSchemaInitializer
forgetSchema, getRoot, rememberSchema, requiresInit
-
Constructor Details
-
OracleConnectionSchemaInitializer
-
-
Method Details
-
initialize
Description copied from interface:ConnectionSchemaInitializerInitialize the connection, setting the current schema for the connection session.- Specified by:
initializein interfaceConnectionSchemaInitializer- Parameters:
toInitialize- The connection from the datasource to initializeschema- The schema to set as the default for the connection session- Returns:
- whether or not the initializer was qualified to operate on the connection and did indeed perform the initialization
-
getDriverFromUrl
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceConnectionSchemaInitializer- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-