openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbee <t...@tbee.org>
Subject Re: Open JPA error-Could not locate metadata for the class using alias
Date Fri, 20 Apr 2007 14:31:14 GMT



Jacek Laskowski-4 wrote:
> 
> I've never used @MappedSuperclass so I can't comment on it. Could you
> present your persistence.xml (and orm.xml if used)?
> 

Sure!

<persistence xmlns="http://java.sun.com/xml/ns/persistence"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
             version="1.0">

   <persistence-unit name="reinders">
		
	
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>

		<class>nl.reinders.bm.Contract</class>
....50x
		<class>nl.reinders.bm.Websort</class>

		<properties>
            <property name="openjpa.ConnectionDriverName"
value="com.informix.jdbc.IfxDriver"/>
            <property name="openjpa.ConnectionURL"
value="jdbc:informix-sqli://...;DB_LOCALE=en_us.utf8"/>
            <property name="openjpa.ConnectionUserName" value="user"/>
            <property name="openjpa.ConnectionPassword" value="password"/>
		</properties>
	</persistence-unit>
</persistence>
-- 
View this message in context: http://www.nabble.com/Open-JPA-error-Could-not-locate-metadata-for-the-class-using-alias-tf3561516.html#a10103040
Sent from the open-jpa-dev mailing list archive at Nabble.com.


Mime
View raw message