public void close() {
        if (this != null) {
            Connection connection = this.getConnection();
            try {
                if (connection != null && !connection.isClosed()) {
                    connection.close();
                    log.info("connection close success");
                }
            } catch (SQLException e) {
                log.error("connection close error",e);
            }
            com.jcraft.jsch.Session session = this.getSession();
            if (session != null && session.isConnected() && this.getSsh() != null
                    && this.getSsh().isUse()) {
                try {
                    session.delPortForwardingL(Integer.parseInt(this.getSsh().getLocalPort()));
                } catch (JSchException e) {
                    log.error("ssh close error",e);
                }
            }
        }
    }
Setter method for property <tt>alias</tt>.

@param alias value to be assigned to property alias
chat2db-server/chat2db-spi/src/main/java/ai/chat2db/spi/sql/ConnectInfo.java