Hi Jörg,
I have had exactly the same reflection and I think I have seen different
versions of the same schema strategy where the
behaviour have been changed between version
(setShouldCreateFKConstrants, etc. from false to true or the other way
around).
I actually though it was intended so I wrote my own strategy instead so
I have full control of it.
Cheers,
Tomas
On 11/25/2011 09:57 AM, Schönfisch, Jörg wrote:
Hi,
I wanted to change the schema update strategy in my project from
CreateIfNoSchema to ThrowOnPartialOrCreate, but I noticed that the later does
not create any PK or FK constraints. By looking at the code for
generate(DataNode) this seems to be intende, but why? Shouldn't these
strategies behave the same way if no schema is present?
Cheers,
Joerg