|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.dbms.test.sql.Thrower org.melati.poem.dbms.test.sql.ThrowingDriverJdbc3
public abstract class ThrowingDriverJdbc3
The JDBC3 members of a Driver
, decorated to throw an SQLException on command.
Constructor Summary | |
---|---|
ThrowingDriverJdbc3()
|
Method Summary | |
---|---|
boolean |
acceptsURL(String url)
|
Connection |
connect(String url,
Properties info)
Return the decorated Connection. |
int |
getMajorVersion()
|
int |
getMinorVersion()
|
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info)
|
boolean |
jdbcCompliant()
|
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower |
---|
shouldThrow, startThrowing, startThrowingAfter, stopThrowing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThrowingDriverJdbc3()
Method Detail |
---|
public boolean acceptsURL(String url) throws SQLException
acceptsURL
in interface Driver
SQLException
Driver.acceptsURL(java.lang.String)
public Connection connect(String url, Properties info) throws SQLException
connect
in interface Driver
SQLException
Driver.connect(java.lang.String, java.util.Properties)
public int getMajorVersion()
getMajorVersion
in interface Driver
Driver.getMajorVersion()
public int getMinorVersion()
getMinorVersion
in interface Driver
Driver.getMinorVersion()
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
Driver.jdbcCompliant()
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo
in interface Driver
SQLException
Driver.getPropertyInfo(java.lang.String, java.util.Properties)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |