Class DbAdaptorFactory

    • Constructor Detail

      • DbAdaptorFactory

        public DbAdaptorFactory()
    • Method Detail

      • setDbType

        public DbAdaptorFactory setDbType​(DBType dbType)
        Sets DB type.
        Parameters:
        dbType - DB type
        Returns:
        this
      • setDdlConsumer

        public DbAdaptorFactory setDdlConsumer​(DdlConsumer ddlConsumer)
        Sets DDL Consumer.
        Parameters:
        ddlConsumer - DDL consumer
        Returns:
      • setConnectionPool

        public DbAdaptorFactory setConnectionPool​(ConnectionPool connectionPool)
        Sets Connection pool.
        Parameters:
        connectionPool - connection pool
        Returns:
      • setH2ReferentialIntegrity

        public DbAdaptorFactory setH2ReferentialIntegrity​(boolean h2ReferentialIntegrity)
        Whether referential integrity for H2 DB has to be switched on/off.
        Parameters:
        h2ReferentialIntegrity - true - switch on, false - switch off. Defaul value is false.
        Returns:
      • createDbAdaptor

        public DBAdaptor createDbAdaptor()
        Builds DB adaptor for concrete DB type.
        Returns: