cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: CreateIfNoSchemaStrategy with multiple DataMaps/DataNodes
Date Wed, 06 Dec 2017 16:27:33 GMT
From this description looks like a bug.


> On Dec 6, 2017, at 10:48 AM, Hugi Thordarson <> wrote:
> Hi all,
> a little dilemma. On application startup, I need to generate a DB schema for only one
DataMap/DataNode in a multi DataMap/DataNode environment.
> CreateIfNoSchemaStrategy isn't quite cutting it since it will check for existence of
*all* DbEntity names in the DataDomain, including DbEntity names from other DataNodes—which
it finds exists and and thus won't generate any schema at all.
> Would you consider this a bug or expected behaviour? I'd think CreateIfNoSchemaStrategy
should only check for names of DbEntities in DataMaps related to the DataNode.
> Cheers,
> - hugi

View raw message