Class ConnectionSourceBase

    • Constructor Detail

      • ConnectionSourceBase

        public ConnectionSourceBase()
    • Method Detail

      • discoverConnectionProperties

        public void discoverConnectionProperties()
        Learn relevant information about this connection source.
      • supportsGetGeneratedKeys

        public final boolean supportsGetGeneratedKeys()
        Does this connection support the JDBC Connection.getGeneratedKeys method?
        Specified by:
        supportsGetGeneratedKeys in interface ConnectionSource
      • getSQLDialectCode

        public final SQLDialectCode getSQLDialectCode()
        Description copied from interface: ConnectionSource
        Get the SQL dialect that should be used for this connection. Note that the dialect is not needed if the JDBC driver supports the getGeneratedKeys method.
        Specified by:
        getSQLDialectCode in interface ConnectionSource
      • getPassword

        public final String getPassword()
        Get the password for this connection source.
      • setPassword

        public final void setPassword​(String password)
        Sets the password.
        password - The password to set
      • getUser

        public final String getUser()
        Get the user for this connection source.
      • setUser

        public final void setUser​(String username)
        Sets the username.
        username - The username to set
      • start

        public void start()
        Specified by:
        start in interface LifeCycle
      • stop

        public void stop()
        Specified by:
        stop in interface LifeCycle