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

com.sap.cloud.mt.runtime.GenericConnectionProviderOnePoolPerTenant Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
/******************************************************************************
 * © 2021 SAP SE or an SAP affiliate company. All rights reserved.            *
 ******************************************************************************/

package com.sap.cloud.mt.runtime;

import java.sql.Connection;
import java.sql.SQLException;

public class GenericConnectionProviderOnePoolPerTenant implements ConnectionProvider {

    @Override
    public Connection getConnection(String tenantId, DataSourceAndInfo dataSourceAndInfo) throws SQLException {
        return dataSourceAndInfo.getDataSource().getConnection();//NOSONAR
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy