|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.ufg.integrate.jdbc.DriverImpl
public final class DriverImpl
Field Summary |
---|
Fields inherited from interface br.ufg.integrate.util.Constants |
---|
DB_MAJOR_VERSION, DB_MINOR_VERSION, DRIVER_CLASS, DRIVER_MAJOR_VERSION, DRIVER_MINOR_VERSION, DRIVER_NAME, DRIVER_RELEASE, INTEGRATE_CONFIG_FILE, JDBC_COMPLIANT, JDBC_MAJOR_VERSION, JDBC_MINOR_VERSION, PRODUCT_NAME, PRODUCT_RELEASE, URL_PREFIX |
Constructor Summary | |
---|---|
DriverImpl()
|
Method Summary | |
---|---|
boolean |
acceptsURL(String url)
Checks if a url can be servived by this driver |
Connection |
connect(String url,
Properties info)
Retorna uma 'falsa' conexão para que o cliente envie sua primeira consulta. |
int |
getMajorVersion()
Supplies Major Version |
int |
getMinorVersion()
Supplies Minor Version |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info)
Required for generic tool bakers. |
boolean |
jdbcCompliant()
Supplies JDBC compliancy level (true or false) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriverImpl()
Method Detail |
---|
public boolean acceptsURL(String url) throws SQLException
acceptsURL
in interface Driver
url
- jdbc url
SQLException
- when url is nullpublic Connection connect(String url, Properties info) throws SQLException
connect
in interface Driver
url
- JDBC urlinfo
- não utilizada aqui
SQLException
- If the url does not contain a valid database pathpublic int getMajorVersion()
getMajorVersion
in interface Driver
public int getMinorVersion()
getMinorVersion
in interface Driver
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
getPropertyInfo
in interface Driver
url
- JDBC urlinfo
- name of integrate configuration
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |