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?
      • 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.
      • getPassword

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

        public final void setPassword(String password)
        Sets the password.
        Parameters:
        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.
        Parameters:
        username - The username to set
      • supportsBatchUpdates

        public final boolean supportsBatchUpdates()
        Does this connection support batch updates?
      • isStarted

        public boolean isStarted()
      • start

        public void start()
      • stop

        public void stop()