|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.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 DriverSQLExceptionDriver.acceptsURL(java.lang.String)
public Connection connect(String url,
Properties info)
throws SQLException
connect in interface DriverSQLExceptionDriver.connect(java.lang.String, java.util.Properties)public int getMajorVersion()
getMajorVersion in interface DriverDriver.getMajorVersion()public int getMinorVersion()
getMinorVersion in interface DriverDriver.getMinorVersion()public boolean jdbcCompliant()
jdbcCompliant in interface DriverDriver.jdbcCompliant()
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
throws SQLException
getPropertyInfo in interface DriverSQLExceptionDriver.getPropertyInfo(java.lang.String, java.util.Properties)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||