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: Duplicate query
Date Mon, 16 Apr 2007 20:27:14 GMT
On 4/16/07, Jacek Laskowski <jacek@laskowski.net.pl> wrote:

> >  2180  lbsims  WARN   [RMI TCP Connection(3)-127.0.1.1] openjpa.MetaData -
> > Found duplicate query "PositionLog.byId" in "class
> > com.lbslogics.ims.model.PositionLog".  Ignoring.
>
> Could you show the PositionLog entity and the corresponding
> persistence.xml file with other referenced files (like orm.xml and
> other mapping files if such exist)?

Could you also rise log level to TRACE:

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

to see what (Native)NamedQuery has already been parsed and when? Add
it to the persistence.xml of yours.

Jacek

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

Mime
View raw message