|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQLStatus
SQLStatus represents the statement execution status of a Structured
Query Language (SQL) statement. This class provides the
following SQL statement execution status information:
SQL) statement String.SQL statement execution was successful or not.Database Table rows affected if successful and applicable.SQLException that occurred if not successful.SQLStatus class is immutable.
DDLStatus,
DMLStatus| Field Summary |
| Fields inherited from class com.jdc.lang.Object |
string |
| Method Summary | |
Connection |
getConnection()
Returns the SQL statement connection, if a result set was returned. |
SQLException |
getException()
Returns the SQL statement exception, if one occurred. |
SQLMessage |
getMessage()
Returns the SQL statement message, if one was created. |
int |
getRowCount()
Returns the SQL statement rows affected count. |
String |
getSQL()
Returns the SQL statement String executed. |
Statement |
getStatement()
Returns the SQL statement, if a result set was returned. |
protected boolean |
isResultSet()
Returns true if the SQL statement execution returned
a result set. |
boolean |
isSuccessful()
Returns true if the SQL statement execution is
successful. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public Connection getConnection()
SQL statement connection, if a result set was returned.
SQL statement connection.public SQLException getException()
SQL statement exception, if one occurred.
SQL statement exception.public SQLMessage getMessage()
SQL statement message, if one was created.
SQL statement message.public int getRowCount()
SQL statement rows affected count.
SQL statement rows affected count.public String getSQL()
SQL statement String executed.
SQL statement String.public Statement getStatement()
SQL statement, if a result set was returned.
SQL statement.protected boolean isResultSet()
true if the SQL statement execution returned
a result set.
True if the SQL statement execution returned a result set. False if the SQL statement execution did not return a result set.public boolean isSuccessful()
true if the SQL statement execution is
successful.
True if the SQL statement execution is successful. False if the SQL statement execution is not successful.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||