[
https://issues.apache.org/jira/browse/ISIS-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539572#comment-17539572
]
Andi Huber commented on ISIS-2651:
----------------------------------
Maybe re-establish eager table creation via
{code:java}
@Inject List<JdoEntityDiscoveryListener> jdoEntityDiscoveryListeners;
_NullSafe.stream(jdoEntityDiscoveryListeners)
.forEach(listener->{
listener.onEntitiesDiscovered(pmf, beanTypeRegistry.getEntityTypesJdo(),
dnSettings);
});
{code}
> JDO bootstrapping for h2 seems to only lazily create tables. For
> reliability, create all up-front.
> ---------------------------------------------------------------------------------------------------
>
> Key: ISIS-2651
> URL: https://issues.apache.org/jira/browse/ISIS-2651
> Project: Isis
> Issue Type: Improvement
> Components: Isis Persistence JDO
> Affects Versions: 2.0.0-M5
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0-RC1
>
>
> Our updated JDO integration no longer seems to eagerly create tables on
> bootstrap, instead creates them when first accessed.
> With our previous integration, this proved to be an issue with superclass
> tables when DN didn't have the full meta-model to hand. It would be safer to
> create all up-front.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)