16.1.1 Cosminexus JPA Provider operation log
This appendix describes the operation log messages that are output by Cosminexus JPA Provider for each category of the log output.
- Organization of this subsection
(1) When category is SQL
-
SQL [aa....aa] SQL = bb....bb
aa....aa: Persistence unit name
bb....bb: Issued SQL statement
- Description
-
JPA issues SQL.
-
SQL [aa....aa] PARAM = bb....bb
aa....aa: Persistence unit name
bb....bb: Set value of ? parameter (place holder)
- Description
-
Sets the value in ? parameter (place holder) of the SQL statement.
Result where the value set to ? parameter (place holder) is converted into a character expression is output in bb....bb. For the character or numeral value the result is output as it is. However, for example, when the binary data is stored in the byte type array of java, the toString method is executed for the byte type array the output is B@f7ba93.
-
SQL [aa....aa] RETURN = bb....bb
aa....aa: Persistence unit name
bb....bb: Return value
- Description
-
Return value of PreparedStatement#executeUpdate(). The return value is the number of lines when the SQL statement is executed. For details, see java.sql.PreparedStatement of Javadoc.
(2) When category is TRANSACTION
-
TRN [aa....aa] JPA processing was bound to a JTA transaction. (status = bb....bb)
aa....aa: Persistence unit name
bb....bb: Transaction state when bound to JTA transaction
- Description
-
JTA transaction is bounded. Outputs the character string that indicates the transaction state (status). For details about the character string that indicates the status, see javax.transaction.Status of Javadoc.
-
TRN [aa....aa] A JTA transaction was committed. (status = bb....bb)
aa....aa: Persistence unit name
bb....bb: Transaction state when JTA transaction is concluded
- Description
-
The conclusion of JTA transaction is notified. Outputs the character string that indicates the state (status) where the transaction passed from JTA is concluded. For details about the character string indicating the status, see javax.transaction.Status of Javadoc.
-
TRN [aa....aa] An EntityTransaction started.
aa....aa: Persistence unit name
- Description
-
EntityTransaction is started.
-
TRN [aa....aa] An EntityTransaction was committed.
aa....aa: Persistence unit name
- Description
-
EntityTransaction is committed.
-
TRN [aa....aa] An EntityTransaction was rolled back.
aa....aa: Persistence unit name
- Description
-
EntityTransaction is rolled back.