Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
DataAccess 1.5, DataMapper 1.1
-
None
-
None
-
None
-
Data Mapper - [assembly: AssemblyVersion("1.1.458")]
Data Access - [assembly: AssemblyVersion("1.5.458")]
Description
Here are some example logs from the Java version of IBatis. The examples show INSERT, SELECT, UPDATE, and DELETE statements:
DEBUG - Checked out connection 30332961 from pool.
DEBUG -
Connection
DEBUG -
DEBUG - {pstm-100004}
Parameters: [4, audit.login.success, 2004-08-25 09:15:22.809]
DEBUG -
Types: [java.lang.Integer, java.lang.String, java.sql.Timestamp]
DEBUG -
DEBUG - {pstm-100005}
Parameters: []
DEBUG -
Types: []
DEBUG -
DEBUG - {rset-100006}
Header: [id]
DEBUG -
Result: [422]
DEBUG - Returned connection 30332961 to pool.
DEBUG - Checked out connection 30332961 from pool.
DEBUG -
Connection
DEBUG -
DEBUG - {pstm-100008}
Parameters: [abc123, def456]
DEBUG -
Types: [java.lang.String, java.lang.String]
DEBUG -
DEBUG - {rset-100009}
Header: [UserId, Login, Password]
DEBUG -
Result: [4, abc1234, def456]
DEBUG - Returned connection 30332961 to pool.
DEBUG - Checked out connection 4548856 from pool.
DEBUG -
Connection
DEBUG -
DEBUG - {pstm-100046}
Parameters: []
DEBUG -
Types: []
DEBUG -
DEBUG - {rset-100047}
Header: [UserId, Login]
DEBUG -
DEBUG - {rset-100047}
Result: [4, def456]
DEBUG -
Result: [6, aaaaa]
DEBUG - Returned connection 4548856 to pool.
DEBUG - Checked out connection 7125805 from pool.
DEBUG -
DEBUG - {pstm-100044} PreparedStatement: UPDATE User SET Login = ? WHERE UserId = ?
DEBUG - {pstm-100044} Parameters: [aaaaa, 4]
DEBUG - {pstm-100044} Types: [java.lang.String, java.lang.Integer]
DEBUG - Returned connection 7125805 to pool.
DEBUG - Checked out connection 27062282 from pool.
DEBUG - {conn-100043}
Connection
DEBUG -
DEBUG - {pstm-100044}
Parameters: [4]
DEBUG -
Types: [java.lang.Integer]
DEBUG - Returned connection 27062282 to pool.