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