-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
This is a question rather than an issue.
The deployment fails, unless I change the code in PersistenceUnitMetadata like the diff mentions below.
Am I doing something wrong, or is this a defect in the metadata collection?
I was using the Cassandra quick start examples from the wiki to set up my configuration.
Here is my artifact structure:
.EAR
EJB.jar (declaring Kundera as a dependency)
webapp.WAR (calls the ejb
--- a/src/jpa-engine/core/src/main/java/com/impetus/kundera/metadata/model/PersistenceUnitMetadata.java
+++ b/src/jpa-engine/core/src/main/java/com/impetus/kundera/metadata/model/PersistenceUnitMetadata.java
@@ -485,7 +485,7 @@ public class PersistenceUnitMetadata implements PersistenceUnitInfo
if (!getExcludeUnlistedClasses())
{
- managedURL.add(getPersistenceUnitRootUrl());
+ //managedURL.add(getPersistenceUnitRootUrl());
}
return managedURL;
}
Just for the record, the persistence.xml declares class elements for the pu.
If more info is needed to reproduce just let me know.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels