Enabling Enhanced Tracing for JPA in a Java SE environment
In some cases it might be necessary to run a Java™ Persistence API (JPA) trace from a Java SE environment.
About this task
Enhanced trace can also be used gather additional JPA trace information in a Java SE environment. In the WebSphere® Application Server environment, the application server takes care of coupling the standard OpenJPA trace with the enhanced trace function to produce a single trace output. This process must be done manually in a Java SE environment. Here are the steps to use enhanced tracing in a Java SE environment:
Procedure
Results
What to do next
문제점 방지: Do not use extended trace agent
in combination with the OpenJPA PCEnhancer agent in a Java SE environment. If enhanced tracing is
used, the OpenJPA PCEnhancer must be used at compile time. If the
enhancer and enhanced trace agents are used together, the results
are unpredictable.gotcha
태스크 주제