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
  • Constructor Details

    • OracleConnectionSchemaInitializer

      public OracleConnectionSchemaInitializer(ConnectionProperties connectionProperties)
  • Method Details

    • initialize

      public boolean initialize(Connection toInitialize, String schema)
      Description copied from interface: ConnectionSchemaInitializer
      Initialize the connection, setting the current schema for the connection session.
      Specified by:
      initialize in interface ConnectionSchemaInitializer
      Parameters:
      toInitialize - The connection from the datasource to initialize
      schema - 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

      protected String getDriverFromUrl(String url)
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface ConnectionSchemaInitializer
      Specified by:
      getOrder in interface org.springframework.core.Ordered