uCosminexus Application Server, Maintenance and Migration Guide

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

8.21.1 Trace collection points and trace information that can be collected during the acquisition or release processing of EntityManagerFactory

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-125 Details of trace collection points during the acquisition or release processing of EntityManagerFactory

Event ID No. in the figure#1 Trace acquisition points Level
0xA304#2 3 When the processing of EntityManagerFactory#close() starts B
0xA305#2 4 When the processing of EntityManagerFactory#close() ends B
0xA320#3 1 When the processing of PersistenceProvider#createEntityManagerFactory(String, Map) starts A
0xA321#3 2 When the processing of PersistenceProvider#createEntityManagerFactory(String, Map) ends A
0xA322#3 1 When the processing of PersistenceProvider#createContainerEntityManagerFactory(PersistenceUnitInfo, Map) starts A
0xA323#3 2 When the processing of PersistenceProvider#createContainerEntityManagerFactory(PersistenceUnitInfo, Map) ends A

Legend:
A: Standard
B: Advanced

#1
Corresponds to the numbers in Figure 8-76.

#2
Trace collection point for javax.persistence.EntityManagerFactory.

#3
Trace collection point for javax.persistence.spi.PersistenceProvider.

The following figure shows the trace collection points.

Figure 8-76 Trace collection points of the acquisition or release processing of EntityManagerFactory

[Figure]

(2) Trace information that can be collected

The following table describes the trace information that can be collected during the acquisition or release processing of EntityManagerFactory.

Table 8-126 Trace information that can be collected during the acquisition or release processing of EntityManagerEntityFactory

No. in the figure#1 Event ID Level Information that you can acquire
Interface name Operation name Optional
1#2 0xA320#3 A -- -- --
0xA322 A -- -- --
2#2 0xA321#3 A -- -- #4
0xA323 A -- -- #4
3#5 0xA304 B -- -- --
4#5 0xA305 B -- -- #4

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

#1
Corresponds to the numbers in Figure 8-76.

#2
Trace collection point for javax.persistence.spi.PersistenceProvider.

#3
Not output when the Cosminexus JPA provider is used.

#4
When an exception occurs, the exception is displayed.

#5
Trace collection point for javax.persistence.EntityManagerFactory.