|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcraftsman.spy.SpyEntity
This classe is the base of the Spy JDBC implementation.
Field Summary | |
protected org.apache.commons.logging.Log |
log
Internal used logger. |
Constructor Summary | |
SpyEntity(java.sql.Connection c)
Constructs a new Spy entoty from a JDBC connection. |
Method Summary | |
java.sql.Connection |
getConnection()
Returns the used JDBC connection. |
int |
getId()
Returns the used JDBC connection identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.commons.logging.Log log
Constructor Detail |
public SpyEntity(java.sql.Connection c)
c
- Connection The used JDBC connection.Method Detail |
public int getId()
0
.public java.sql.Connection getConnection() throws java.sql.SQLException
java.sql.SQLException
- If a database access error occurs.
But in this case, the exception will be never throwed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |