openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: PCEnhance
Date Tue, 10 Apr 2007 19:47:45 GMT
On 4/10/07, Phill Moran <pjmoran@rogers.com> wrote:
> Through maven and eclipse. I have log level trace set in persistence.xml but
> that has no impact. Maven is reporting that PCEnhance is returning non-zero and
> no reason why. So trace is set on either CLI or maven (same thing really). I
> don't remember seeing it anywhere in the docs from maven is it in Configuration
> and what is the tag?

Use

<property name="openjpa.Log" value="DefaultLevel=TRACE,SQL=TRACE" />

in your persistence.xml file (I think SQL=TRACE is not necessary). I'm
using OpenJPA 0.9.7-SNAPSHOT's PCEnhancer from within M2 with
maven-antrun-plugin. It gives a lot of information, i.e.

     [java] 62  derbyPU  TRACE  [main] openjpa.MetaData - Found 3
classes with metadata in 0 milliseconds.
     [java] 62  derbyPU  TRACE  [main] openjpa.Tool - Enhancer running
on type "class pl.jaceklaskowski.jpa.entity.PracownikSpecjalny".
     [java] 125  derbyPU  TRACE  [main] openjpa.MetaData - Loading
metadata for "class pl.jaceklaskowski.jpa.entity.PracownikSpecjalny"
under mode "[META]".
     [java] 140  derbyPU  TRACE  [main] openjpa.MetaData - Parsing
class "pl.jaceklaskowski.jpa.entity.PracownikSpecjalny".
     [java] 140  derbyPU  TRACE  [main] openjpa.MetaData - Parsing
package "pl.jaceklaskowski.jpa.entity.PracownikSpecjalny".
     [java] 187  derbyPU  TRACE  [main] openjpa.MetaData - Generating
default metadata for type
"pl.jaceklaskowski.jpa.entity.PracownikSpecjalny".
     [java] 187  derbyPU  TRACE  [main] openjpa.MetaData - Using
reflection for metadata generation.
     [java] 218  derbyPU  TRACE  [main] openjpa.MetaData - Loading
metadata for "class pl.jaceklaskowski.jpa.entity.Osoba" under mode
"[META]".
     [java] 218  derbyPU  TRACE  [main] openjpa.MetaData - Parsing
class "pl.jaceklaskowski.jpa.entity.Osoba".
...

Lots of information to digest.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message