Re: sql gen is in

From: Mike Schrag (mschra..dimension.com)
Date: Mon Jul 31 2006 - 23:27:37 EDT


Yeah, my bad ... If you remove the "YES" key for dropping tables, it
defaults to "YES", so instead I explicitly set a "NO" key. Try again.

On Jul 31, 2006, at 4:15 AM, Guido Neitzer wrote:

>
>> 3) if you have any single table inheritance tables in your sql
>> gen, it creates a two-pass sql gen script -- one that does drops
>> and one that does creates, where the first pass uniques the table
>> names (so it doesn't generate duplicates). the downside here is
>> that you get two transactions
>
> But this doesn't work for me. If I select a single entity (with
> inheritance involved) I get a couple of "drop table" statements.
>
> If I select all entities to generate SQL for the whole stuff, I get
> two "drop table ..." blocks: the first with only one drop per
> table, the second with duplicates.



This archive was generated by hypermail 2.0.0 : Mon Jul 31 2006 - 23:27:44 EDT