Interface ConnectionSchemaInitializer

    • Method Detail

      • getOrder

        default int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • initialize

        boolean initialize​(Connection toInitialize,
                           String schema)
        Initialize the connection, setting the current schema for the connection session.
        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