Class HybrisPlatformFactory


  • public class HybrisPlatformFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.ddlutils.Platform createInstance​(DatabaseSettings databaseSettings)
      Creates a lightweight Platform instance, not wired to existing data source.
      static org.apache.ddlutils.Platform createInstance​(DatabaseSettings databaseSettings, javax.sql.DataSource dataSource)
      Creates a Platform instance wired with platform's data source
      static org.apache.ddlutils.Platform getInstance()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ORACLE_STATEMENT_DELIMITER

        public static final java.lang.String ORACLE_STATEMENT_DELIMITER
        See Also:
        Constant Field Values
      • DEFAULT_STATEMENT_DELIMITER

        public static final java.lang.String DEFAULT_STATEMENT_DELIMITER
        See Also:
        Constant Field Values
    • Constructor Detail

      • HybrisPlatformFactory

        public HybrisPlatformFactory()
    • Method Detail

      • createInstance

        public static org.apache.ddlutils.Platform createInstance​(DatabaseSettings databaseSettings)
                                                           throws org.apache.ddlutils.DdlUtilsException
        Creates a lightweight Platform instance, not wired to existing data source.
        Parameters:
        databaseSettings -
        Returns:
        A lightweight Platform instance.
        Throws:
        org.apache.ddlutils.DdlUtilsException
      • createInstance

        public static org.apache.ddlutils.Platform createInstance​(DatabaseSettings databaseSettings,
                                                                  javax.sql.DataSource dataSource)
                                                           throws org.apache.ddlutils.DdlUtilsException
        Creates a Platform instance wired with platform's data source
        Parameters:
        databaseSettings -
        dataSource -
        Returns:
        a Platform instance wired with platform's data source.
        Throws:
        org.apache.ddlutils.DdlUtilsException
      • getInstance

        public static org.apache.ddlutils.Platform getInstance()