openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Trelle <>
Subject Re: Named Queries
Date Mon, 17 Oct 2011 13:06:34 GMT

rjdevet wrote:
> In OpenJPA, merchHier.orm.xml file is not recognized, tried few options of
> renaming the file orm.xml and other suggested options, but nothing worked.
The JPA spec "suggests" to put the O/R mapping definition into


somewhere in the classpath.

rjdevet wrote:
> Questions: 
> Are plain named queries, (Like in above example) supported by openJPA?

Yes, you can have both named queries and named native queries in one orm


View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message