[
https://issues.apache.org/jira/browse/ISIS-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15710104#comment-15710104
]
ASF subversion and git services commented on ISIS-1550:
-------------------------------------------------------
Commit 856d1117f3134e6d7767d746f60a5a556ad57faa in isis's branch
refs/heads/maint-1.13.2 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=856d111 ]
ISIS-1550: removes validator that ensures there is >=1 @PersistenceCapable
entity in the classpath
> 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)