15.12.5 Trace collection points and trace information that can be collected during the operation of Query
- Organization of this subsection
(1) Trace collection points and PRF trace collection levels
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
|
Event ID |
No. in the figure#1 |
Trace acquisition points |
Level |
|---|---|---|---|
|
0xA354#2 |
1 |
When the processing of EntityManager#createQuery(String) starts |
B |
|
0xA355#2 |
2 |
When the processing of EntityManager#createQuery(String) ends |
B |
|
0xA356#2 |
1 |
When the processing of EntityManager#createNamedQuery(String) starts |
B |
|
0xA357#2 |
2 |
When the processing of EntityManager#createNamedQuery(String) ends |
B |
|
0xA358#2 |
1 |
When the processing of EntityManager#createNativeQuery(String) starts |
B |
|
0xA359#2 |
2 |
When the processing of EntityManager#createNativeQuery(String) ends |
B |
|
0xA35A#2 |
1 |
When the processing of EntityManager#createNativeQuery(String, Class) starts |
B |
|
0xA35B#2 |
2 |
When the processing of EntityManager#createNativeQuery(String, Class) ends |
B |
|
0xA35C#2 |
1 |
When the processing of EntityManager#createNativeQuery(String, String) starts |
B |
|
0xA35D#2 |
2 |
When the processing of EntityManager#createNativeQuery(String, String) ends |
B |
|
0xA370#3 |
5 |
When the processing of Query#getResultList() starts |
B |
|
0xA371#3 |
6 |
When the processing of Query#getResultList() ends |
B |
|
0xA372#3 |
5 |
When the processing of Query#getSingleResult() starts |
B |
|
0xA373#3 |
6 |
When the processing of Query#getSingleResult() ends |
B |
|
0xA374#3 |
5 |
When the processing of Query#executeUpdate() starts |
B |
|
0xA375#3 |
6 |
When the processing of Query#executeUpdate() ends |
B |
|
0xA376#3 |
3 |
When the processing of Query#setParameter(String, Object) starts |
B |
|
0xA377#3 |
4 |
When the processing of Query#setParameter(String, Object) ends |
B |
|
0xA378#3 |
3 |
When the processing of Query#setParameter(String, Date, TemporalType) starts |
B |
|
0xA379#3 |
4 |
When the processing of Query#setParameter(String, Date, TemporalType) ends |
B |
|
0xA37A#3 |
3 |
When the processing of Query#setParameter(String, Calendar, TemporalType) starts |
B |
|
0xA37B#3 |
4 |
When the processing of Query#setParameter(String, Calendar, TemporalType) ends |
B |
|
0xA37C#3 |
3 |
When the processing of Query#setParameter(int, Object) starts |
B |
|
0xA37D#3 |
4 |
When the processing of Query#setParameter(int, Object) ends |
B |
|
0xA37E#3 |
3 |
When the processing of Query#setParameter(int, Date, TemporalType) starts |
B |
|
0xA37F#3 |
4 |
When the processing of Query#setParameter(int, Date, TemporalType) ends |
B |
|
0xA380#3 |
3 |
When the processing of Query#setParameter(int, Calendar, TemporalType) starts |
B |
|
0xA381#3 |
4 |
When the processing of Query#setParameter(int, Calendar, TemporalType) ends |
B |
- Legend:
-
B: Advanced
- #1
-
Corresponds to the numbers in Figure 15-25.
- #2
-
Trace collection point for javax.persistence.EntityManager.
- #3
-
Trace collection point for javax.persistence.Query.
The following figure shows the trace collection points.
|
|
(2) Trace information that can be collected
The following table describes the trace information that can be collected during the Query operation.
|
No. in the figure#1 |
Event ID |
Level |
Information that you can acquire |
||
|---|---|---|---|---|---|
|
Interface name |
Operation name |
Optional |
|||
|
1#2 |
0xA354 |
B |
-- |
-- |
-- |
|
0xA356 |
B |
-- |
-- |
-- |
|
|
0xA358 |
B |
-- |
-- |
-- |
|
|
0xA35A |
B |
-- |
-- |
-- |
|
|
0xA35C |
B |
-- |
-- |
-- |
|
|
2#2 |
0xA355 |
B |
-- |
-- |
#3 |
|
0xA357 |
B |
-- |
-- |
#3 |
|
|
0xA359 |
B |
-- |
-- |
#3 |
|
|
0xA35B |
B |
-- |
-- |
#3 |
|
|
0xA35D |
B |
-- |
-- |
#3 |
|
|
3#4 |
0xA376 |
B |
-- |
-- |
-- |
|
0xA378 |
B |
-- |
-- |
-- |
|
|
0xA37A |
B |
-- |
-- |
-- |
|
|
0xA37C |
B |
-- |
-- |
-- |
|
|
0xA37E |
B |
-- |
-- |
-- |
|
|
0xA380 |
B |
-- |
-- |
-- |
|
|
4#4 |
0xA377 |
B |
-- |
-- |
#3 |
|
0xA379 |
B |
-- |
-- |
#3 |
|
|
0xA37B |
B |
-- |
-- |
#3 |
|
|
0xA37D |
B |
-- |
-- |
#3 |
|
|
0xA37F |
B |
-- |
-- |
#3 |
|
|
0xA381 |
B |
-- |
-- |
#3 |
|
|
5#4 |
0xA370 |
B |
-- |
-- |
-- |
|
0xA372 |
B |
-- |
-- |
-- |
|
|
0xA374 |
B |
-- |
-- |
-- |
|
|
6#4 |
0xA371 |
B |
-- |
-- |
#3 |
|
0xA373 |
B |
-- |
-- |
#3 |
|
|
0xA375 |
B |
-- |
-- |
#3 |
|
- Legend:
-
B: Advanced
--: Not applicable
- #1
-
Corresponds to the numbers in Figure 15-25.
- #2
-
Trace collection point for javax.persistence.EntityManager.
- #3
-
When an exception occurs, the exception is displayed.
- #4
-
Trace collection point for javax.persistence.Query.