You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2016/11/30 19:07:59 UTC

[jira] [Created] (ISIS-1550) Remove metamodel validation that insists on at least one @PersistenceCapable class.

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)