org.teiid.jdbc
Interface ConnectionProfile

All Known Implementing Classes:
EmbeddedProfile

public interface ConnectionProfile


Method Summary
 ConnectionImpl connect(java.lang.String url, java.util.Properties info)
          This method tries to make a connection to the given URL.
 

Method Detail

connect

ConnectionImpl connect(java.lang.String url,
                       java.util.Properties info)
                       throws TeiidSQLException
This method tries to make a connection to the given URL. This class will return a null if this is not the right driver to connect to the given URL.

Parameters:
The - URL used to establish a connection.
Returns:
Connection object created
Throws:
java.sql.SQLException - if it is unable to establish a connection
TeiidSQLException


Copyright © 2011. All Rights Reserved.