openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbee <>
Subject Re: Open JPA error-Could not locate metadata for the class using alias
Date Tue, 24 Apr 2007 17:20:22 GMT

Marina Vatkina wrote:
> This is close to impossible as there are probably CTS tests that use an
> @Entity
> that extends another @Entity. Are you using JPA in an EE 5 container?
> Otherwise 
> you need to list all antities and mapped superclasses in your
> persistence.xml.

I did'n't say this didn't work under OpenJPA, it doesn't work under Toplink.
OpenJPA  continues to have the same exceptions as stated in the origin of
this thread, so the @MappedSuperclass is not the reason.

JSE 1.6.0. 

All classes are listed in the persistance.xml (because it knows the class in
question is persisted, but has trouble finding the metadata).

View this message in context:
Sent from the open-jpa-dev mailing list archive at

View raw message