|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttribble.sql.StatementAdapter
tribble.sql.test.FakeStatement
class FakeStatement
Fake JDBC statement driver class.
Copyright ©2008 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated by
by the United States Department of State as a terrorist, or terrorist
government or agency, to use and distribute this source code provided
that the original copyright notice remains present and unaltered.
Test1,
FakeConnection,
FakeResultSet| Field Summary | |
|---|---|
(package private) static java.lang.String |
REV
|
| Fields inherited from class tribble.sql.StatementAdapter |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
|---|---|
FakeStatement(java.sql.Connection conn)
Constructor. |
|
| Method Summary | |
|---|---|
java.sql.ResultSet |
executeQuery(java.lang.String stmt)
Execute an SQL query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final java.lang.String REV
| Constructor Detail |
|---|
FakeStatement(java.sql.Connection conn)
| Method Detail |
|---|
public java.sql.ResultSet executeQuery(java.lang.String stmt)
throws java.sql.SQLException
executeQuery in interface java.sql.StatementexecuteQuery in class StatementAdapterstmt - A JDBC statement with which to execute the SQL query.
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||