All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.opitzconsulting.orcas.diff.MultiSchemaConnectionManagerProxyConnect Maven / Gradle / Ivy

The newest version!
package de.opitzconsulting.orcas.diff;

import de.opitzconsulting.orcas.diff.Parameters.JdbcConnectParameters;

public class MultiSchemaConnectionManagerProxyConnect extends BaseMultiSchemaConnectionManager {
    @Override
    protected JdbcConnectParameters getJdbcConnectParametersForSchema(String pSchemaName, Parameters pParameters) {
        JdbcConnectParameters lJdbcConnectParameters = new JdbcConnectParameters();

        lJdbcConnectParameters.setJdbcUrl(pParameters.getJdbcConnectParameters().getJdbcUrl());
        lJdbcConnectParameters.setJdbcDriver(pParameters.getJdbcConnectParameters().getJdbcDriver());
        lJdbcConnectParameters.setJdbcUser(pParameters.getJdbcConnectParameters().getJdbcUser() + "[" + pSchemaName + "]");
        lJdbcConnectParameters.setJdbcPassword(pParameters.getJdbcConnectParameters().getJdbcPassword());

        return lJdbcConnectParameters;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy