uCosminexus Application Server, Maintenance and Migration Guide

[Contents][Glossary][Index][Back][Next]

8.20.1 Trace collection points and trace information that can be collected when the persistent context of application management is used

This subsection describes the trace collection points and the trace information that can be collected when the persistent context of application management is used.

Organization of this subsection
(1) Trace collection points and PRF trace collection levels
(2) Trace information that can be collected

(1) Trace collection points and PRF trace collection levels

The following table describes the event IDs, trace collection points, and PRF trace collection levels.

Table 8-115 Details of trace collection points when the persistent context of application management is used

Event ID No. in the figure# Trace acquisition points Level
0xA500 1 When the processing of EntityManagerFactory#createEntityManagerFactory() starts A
0xA501 2 When the processing of EntityManagerFactory#createEntityManagerFactory() ends A
0xA502 1 When the processing of EntityManagerFactory#createEntityManagerFactory(Map map) starts A
0xA503 2 When the processing of EntityManagerFactory#createEntityManagerFactory(Map map) ends A
0xA504 1 When the processing of EntityManagerFactory#isOpen() starts A
0xA505 2 When the processing of EntityManagerFactory#isOpen() ends A
0xA506 1 When the processing of EntityManagerFactory#close() starts A
0xA507 2 When the processing of EntityManagerFactory#close() ends A
0xA508 1 When the processing of EntityManager#find(Class<T> entityClass, Object primaryKey) starts A
0xA509 2 When the processing of EntityManager#find(Class<T> entityClass, Object primaryKey) ends A
0xA50A 1 When the processing of EntityManager#getReference(Class<T> entityClass, Object primaryKey) starts A
0xA50B 2 When the processing of EntityManager#getReference(Class<T> entityClass, Object primaryKey) ends A
0xA50C 1 When the processing of EntityManager#contains(Object entity) starts A
0xA50D 2 When the processing of EntityManager#contains(Object entity) ends A
0xA50E 1 When the processing of EntityManager#lock(Object entity, LockModeType lockMode) starts A
0xA50F 2 When the processing of EntityManager#lock(Object entity, LockModeType lockMode) ends A
0xA510 1 When the processing of EntityManager#merge(T entity) starts A
0xA511 2 When the processing of EntityManager#merge(T entity) ends A
0xA512 1 When the processing of EntityManager#persist(Object entity) starts A
0xA513 2 When the processing of EntityManager#persist(Object entity) ends A
0xA514 1 When the processing of EntityManager#refresh(Object entity) starts A
0xA515 2 When the processing of EntityManager#refresh(Object entity) ends A
0xA516 1 When the processing of EntityManager#remove(Object entity) starts A
0xA517 2 When the processing of EntityManager#remove(Object entity) ends A
0xA518 1 When the processing of EntityManager#clear() starts A
0xA519 2 When the processing of EntityManager#clear() ends A
0xA51A 1 When the processing of EntityManager#flush() starts A
0xA51B 2 When the processing of EntityManager#flush() ends A
0xA51C 1 When the processing of EntityManager#createQuery(String qlString) starts A
0xA51D 2 When the processing of EntityManager#createQuery(String qlString) ends A
0xA51E 1 When the processing of EntityManager#createNamedQuery(String name) starts A
0xA51F 2 When the processing of EntityManager#createNamedQuery(String name) ends A
0xA520 1 When the processing of EntityManager#createNativeQuery(String sqlString) starts A
0xA521 2 When the processing of EntityManager#createNativeQuery(String sqlString) ends A
0xA522 1 When the processing of EntityManager#createNativeQuery(String sqlString, Class resultClass) starts A
0xA523 2 When the processing of EntityManager#createNativeQuery(String sqlString, Class resultClass) ends A
0xA524 1 When the processing of EntityManager#createNativeQuery(String sqlString, String resultSetMapping) starts A
0xA525 2 When the processing of EntityManager#createNativeQuery(String sqlString, String resultSetMapping) ends A
0xA526 1 When the processing of EntityManager#setFlushMode(FlushModeType flushMode) starts A
0xA527 2 When the processing of EntityManager#setFlushMode(FlushModeType flushMode) ends A
0xA528 1 When the processing of EntityManager#getFlushMode() starts A
0xA529 2 When the processing of EntityManager#getFlushMode() ends A
0xA52A 1 When the processing of EntityManager#joinTransaction() starts A
0xA52B 2 When the processing of EntityManager#joinTransaction() ends A
0xA52C 1 When the processing of EntityManager#getTransaction() starts A
0xA52D 2 When the processing of EntityManager#getTransaction() ends A
0xA52E 1 When the processing of EntityManager#getDelegate() starts A
0xA52F 2 When the processing of EntityManager#getDelegate() ends A
0xA530 1 When the processing of EntityManager#isOpen() starts A
0xA531 2 When the processing of EntityManager#isOpen() ends A
0xA532 1 When the processing of EntityManager#close() starts A
0xA533 2 When the processing of EntityManager#close() ends A
0xA534 1 When the processing of EntityTransaction#begin() starts A
0xA535 2 When the processing of EntityTransaction#begin() ends A
0xA536 1 When the processing of EntityTransaction#commit() starts A
0xA537 2 When the processing of EntityTransaction#commit() ends A
0xA538 1 When the processing of EntityTransaction#rollback() starts A
0xA539 2 When the processing of EntityTransaction#rollback() ends A
0xA53A 1 When the processing of EntityTransaction#getRollbackOnly() starts A
0xA53B 2 When the processing of EntityTransaction#getRollbackOnly() ends A
0xA53C 1 When the processing of EntityTransaction#setRollbackOnly() starts A
0xA53D 2 When the processing of EntityTransaction#setRollbackOnly() ends A
0xA53E 1 When the processing of EntityTransaction#isActive() starts A
0xA53F 2 When the processing of EntityTransaction#isActive() ends A
0xA540 1 When the processing of Query#executeUpdate() starts A
0xA541 2 When the processing of Query#executeUpdate() ends A
0xA542 1 When the processing of Query#getResultList() starts A
0xA543 2 When the processing of Query#getResultList() ends A
0xA544 1 When the processing of Query#getSingleResult() starts A
0xA545 2 When the processing of Query#getSingleResult() ends A
0xA546 1 When the processing of Query#setFlushMode(FlushModeType flushMode) starts A
0xA547 2 When the processing of Query#setFlushMode(FlushModeType flushMode) ends A
0xA548 1 When the processing of Query#setFirstResult(int startPosition) starts B
0xA549 2 When the processing of Query#setFirstResult(int startPosition) ends B
0xA54A 1 When the processing of Query#setMaxResults(int maxResult) starts B
0xA54B 2 When the processing of Query#setMaxResults(int maxResult) ends B
0xA54C 1 When the processing of Query#setHint(String hintName, Object value) starts B
0xA54D 2 When the processing of Query#setHint(String hintName, Object value) ends B
0xA54E 1 When the processing of Query#setParameter(int position, Calendar value, TemporalType temporalType) starts B
0xA54F 2 When the processing of Query#setParameter(int position, Calendar value, TemporalType temporalType) ends B
0xA550 1 When the processing of Query#setParameter(int position, Date value, TemporalType temporalType) starts B
0xA551 2 When the processing of Query#setParameter(int position, Date value, TemporalType temporalType) ends B
0xA552 1 When the processing of Query#setParameter(int position, Object value) starts B
0xA553 2 When the processing of Query#setParameter(int position, Object value) ends B
0xA554 1 When the processing of Query#setParameter(String name, Calendar value, TemporalType temporalType) starts B
0xA555 2 When the processing of Query#setParameter(String name, Calendar value, TemporalType temporalType) ends B
0xA556 1 When the processing of Query#setParameter(String name, Date value, TemporalType temporalType) starts B
0xA557 2 When the processing of Query#setParameter(String name, Date value, TemporalType temporalType) ends B
0xA558 1 When the processing of Query#setParameter(String name, Object value) starts B
0xA559 2 When the processing of Query#setParameter(String name, Object value) ends B

Legend:
A: Standard
B: Advanced

#
Corresponds to the numbers in Figure 8-71.

The following figure shows the trace collection points.

Figure 8-71 Trace collection points when the persistent context of application management is used

[Figure]

(2) Trace information that can be collected

The following table describes the trace information that can be collected when the persistent context of application management is used.

Table 8-116 Trace information that can be collected when the persistent context of application management is used

No. in the figure# Event ID Level Information that you can acquire
Interface name Operation name Optional
1 0xA500 A -- -- --
0xA502 A -- -- --
0xA504 A -- -- --
0xA506 A -- -- --
0xA508 A entity class name -- --
0xA50A A entity class name -- --
0xA50C A entity class name -- --
0xA50E A entity class name lockMode value --
0xA510 A entity class name -- --
0xA512 A entity class name -- --
0xA514 A entity class name -- --
0xA516 A entity class name -- --
0xA518 A -- -- --
0xA51A A -- -- --
0xA51C A -- -- --
0xA51E A name -- --
0xA520 A -- -- --
0xA522 A resultClass class name -- --
0xA524 A resultSetMapping -- --
0xA526 A flushMode value -- --
0xA528 A -- -- --
0xA52A A -- -- --
0xA52C A -- -- --
0xA52E A -- -- --
0xA530 A -- -- --
0xA532 A -- -- --
0xA534 A -- -- --
0xA536 A -- -- --
0xA538 A -- -- --
0xA53A A -- -- --
0xA53C A -- -- --
0xA53E A -- -- --
0xA540 A -- -- --
0xA542 A -- -- --
0xA544 A -- -- --
0xA546 A flushMode value -- --
0xA548 B startPosition value -- --
0xA54A B maxResult value -- --
0xA54C B hintName value class name --
0xA54E B position value -- --
0xA550 B position value -- --
0xA552 B position value -- --
0xA554 B name value -- --
0xA556 B name value -- --
0xA558 B name value -- --
2 0xA501 A -- -- When normal:
Entrance-time
For an exception:
Entrance-time exception-name
0xA503 A -- --
0xA505 A -- --
0xA507 A -- --
0xA509 A -- --
0xA50B A -- --
0xA50D A -- --
0xA50F A -- --
0xA511 A -- --
0xA513 A -- --
0xA515 A -- --
0xA517 A -- --
0xA519 A -- --
0xA51B A -- --
0xA51D A -- --
0xA51F A -- --
0xA521 A -- --
0xA523 A -- --
0xA525 A -- --
0xA527 A -- --
0xA529 A -- --
0xA52B A -- --
0xA52D A -- --
0xA52F A -- --
0xA531 A -- --
0xA533 A -- --
0xA535 A -- --
0xA537 A -- --
0xA539 A -- --
0xA53B A -- --
0xA53D A -- --
0xA53F A -- --
0xA541 A -- --
0xA543 A -- --
0xA545 A -- --
0xA547 A -- --
0xA549 B -- --
0xA54B B -- --
0xA54D B -- --
0xA54F B -- --
0xA551 B -- --
0xA553 B -- --
0xA555 B -- --
0xA557 B -- --
0xA559 B -- --

Legend:
A: Standard
B: Advanced
--: Not applicable

#
Corresponds to the numbers in Figure 8-71.