Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » The collection of metamodel types is empty.
The collection of metamodel types is empty. [message #890329] Thu, 21 June 2012 23:49 Go to next message
Eclipse UserFriend
Hola,

I'm moving a RCP application to RAP on which one I'm using Eclipselink 2.3.2, Indigo and RAP 1.4.

The app has a plugin for persistence which holds entity classes, persistence.xml, etc.

In the RAP app, the persistence plugin has been imported, however when using it the following is logged:

[EL Warning]: 2012-06-21 22:12:30.882--The collection of metamodel types is empty. Model classes may not have been found during entity search for Java SE and some Java EE container managed persistence units.  Please verify that your entity classes are referenced in persistence.xml using either <class> elements or a global <exclude-unlisted-classes>false</exclude-unlisted-classes> element


All the entity classes are listed in the persistence.xml fie, the file is in src/META-INF directory, the plugin is working fine in RCP, is there something I'm missing ?

Any ideas where the problem might be?

thanks in advance.
Re: The collection of metamodel types is empty. [message #891897 is a reply to message #890329] Tue, 26 June 2012 09:21 Go to previous message
Eclipse UserFriend
This is just a warning, the JPA generated meta-model classes are not required. They are only optionally used by your application with the Criteria API. They would have been generated from your IDE or using EclipseLink's ant task, but are not required, so just ignore the warning.
Previous Topic:Maven Test Fails with Custom Logger
Next Topic:No Persistence provider
Goto Forum:
  


Current Time: Sun May 11 21:44:38 EDT 2025

Powered by FUDForum. Page generated in 0.16354 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top