The last time there was a problem with CreateIfNoSchemaStrategy, it was
actually strategy being too eager not detecting the existing schema on the
following runs:
http://markmail.org/message/7cr4dksbv2foglsm
So the strategy definitely should be invoked on startup. But it can fail for a
variet
I haven't seen the Modeler breaking relationships on renaming the
tables/classes. Which version of Cayenne are you using, and if it is 3.0 or
newer, what is the exact scenario - maybe we need a Jira for it?
Beyond that it is all a matter of preference, so as long as you keep in mind
all the pie
Actually i have made the same experience. It worked 1 time, then never
again. But I didn't track it, I used the migration tool in the
modeller.
On Sun, Feb 20, 2011 at 4:32 PM, Andrus Adamchik wrote:
> Odd. Configuration seems correct. So what do you see in the logs when Cayenne
> starts in your
Odd. Configuration seems correct. So what do you see in the logs when Cayenne
starts in your application?
Andrus
On Feb 20, 2011, at 4:48 PM, Thorben Wallmeyer wrote:
> Hi everyone,
>
> I'm working with Cayenne and I'm trying to automatically create a schema when
> cayenne connects for the fi
Hi everyone,
I'm working with Cayenne and I'm trying to automatically create a schema
when cayenne connects for the first time the the configured databse.
Therefore I've slighty changed my cayenne.xml file, so that it looks like:
schema-update-strategy="org.apache.cayenne.access.dbs