openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Arentz" <stefan.are...@gmail.com>
Subject Re: RE: Some integration questions
Date Sat, 07 Oct 2006 09:55:13 GMT
On 10/7/06, Patrick Linskey <plinskey@bea.com> wrote:

...

Patrick, thanks for the hints.

> Also, in the specific case (Spring 2.0 + Jetty), you'll get
> auto-enhancement out-of-the-box, modulo any bugs that haven't been
> surfaced yet by us or the Spring team (thanks, Costin!).

That is also the reason why I am trying to understand how all the
pieces fit together. I'm currently in a situation where I keep getting
the following error:

 the type "class wicket.quickstart.entities.Message" has not been enhanced.

even though I see the following in the OpenJPA TRACE log:

4296  INFO   [btpool0-6] openjpa.MetaData - Found 1 classes with
metadata in 0 milliseconds.
4459  TRACE  [btpool0-6] openjpa.Enhance -
"wicket/quickstart/entities/Message" requires runtime enhancement:
true
4541  TRACE  [btpool0-6] openjpa.MetaData - Loading metadata for
"class wicket.quickstart.entities.Message" under mode "[META][QUERY]".
4559  INFO   [btpool0-6] openjpa.MetaData - Parsing class
"wicket.quickstart.entities.Message".
4559  INFO   [btpool0-6] openjpa.MetaData - Parsing package
"wicket.quickstart.entities.Message".
4578  TRACE  [btpool0-6] openjpa.MetaData - Generating default
metadata for type "wicket.quickstart.entities.Message".
4578  TRACE  [btpool0-6] openjpa.MetaData - Using reflection for
metadata generation.
4596  TRACE  [btpool0-6] openjpa.MetaData - Set persistence-capable
superclass of "wicket.quickstart.entities.Message" to "null".
4596  TRACE  [btpool0-6] openjpa.MetaData - Resolving metadata for
"wicket.quickstart.entities.Message@5779080".
4596  TRACE  [btpool0-6] openjpa.MetaData - 	Resolving field
"wicket.quickstart.entities.Message@5779080.id".
4604  TRACE  [btpool0-6] openjpa.MetaData - 	Resolving field
"wicket.quickstart.entities.Message@5779080.text".
4606  TRACE  [btpool0-6] openjpa.Enhance - Enhancing type "class
wicket.quickstart.entities.Message".

I'm not sure this is a Spring issue or an OpenJPA issue though. That
is why I'm trying to understand how all this should work.

(I'm trying to build a quickstart project for http://wicket.sf.net
that uses OpenJPA and Spring)

 S.

Mime
View raw message