Search in sources :

Example 1 with JdbcThinConnection

use of org.apache.ignite.internal.jdbc.thin.JdbcThinConnection in project ignite by apache.

the class IgniteJdbcThinDriver method connect.

/**
 * {@inheritDoc}
 */
@Override
public Connection connect(String url, Properties props) throws SQLException {
    if (!acceptsURL(url))
        return null;
    ConnectionPropertiesImpl connProps = new ConnectionPropertiesImpl();
    connProps.init(url, props);
    return new JdbcThinConnection(connProps);
}
Also used : ConnectionPropertiesImpl(org.apache.ignite.internal.jdbc.thin.ConnectionPropertiesImpl) JdbcThinConnection(org.apache.ignite.internal.jdbc.thin.JdbcThinConnection)

Aggregations

ConnectionPropertiesImpl (org.apache.ignite.internal.jdbc.thin.ConnectionPropertiesImpl)1 JdbcThinConnection (org.apache.ignite.internal.jdbc.thin.JdbcThinConnection)1