| java.lang.Object craftsman.spy.SpyEntity
All known Subclasses: craftsman.spy.SpyResultSet, craftsman.spy.SpyStatement,
SpyEntity | public class SpyEntity (Code) | | This classe is the base of the Spy JDBC implementation.
author: Sébastien LECACHEUR |
Field Summary | |
protected Log | log Internal used logger. |
Constructor Summary | |
public | SpyEntity(Connection c) Constructs a new Spy entoty from a JDBC connection. |
Method Summary | |
public Connection | getConnection() Returns the used JDBC connection. | public int | getId() Returns the used JDBC connection identifier. |
log | protected Log log(Code) | | Internal used logger.
|
SpyEntity | public SpyEntity(Connection c)(Code) | | Constructs a new Spy entoty from a JDBC connection.
Parameters: c - Connection The used JDBC connection. |
getConnection | public Connection getConnection() throws SQLException(Code) | | Returns the used JDBC connection.
Connection The used JDBC connection. throws: SQLException - If a database access error occurs.But in this case, the exception will be never throwed. |
getId | public int getId()(Code) | | Returns the used JDBC connection identifier.
int The JDBC connection has code otherwise0 . |
|
|