Dan Haywood created ISIS-1550:
---------------------------------
Summary: Remove metamodel validation that insists on at least one
@PersistenceCapable class.
Key: ISIS-1550
URL: https://issues.apache.org/jira/browse/ISIS-1550
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: 1.13.1
Reporter: Dan Haywood
Priority: Minor
Fix For: 1.13.2
As per JdoMetaModelValidator:
{code}
if(!found) {
validationFailures.add("No @PersistenceCapable entities
found. " +
"(Are the entities referenced by the registered
services? " +
"are all services registered? " +
"did the DataNucleus enhancer run?)");
}
{code}
because it's perfectly valid to have an Isis app with no persisted entities,
just view models.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)