Hi,

I don't think "SET GLOBAL FOREIGN_KEY_CHECKS" was ever supported by H2.
This seems to be a MySQL feature.

Regards,
Thomas


On Thu, Jun 16, 2016 at 3:41 PM, Noel Grandin <noelgran...@gmail.com> wrote:

> or you could use
>
>   SET REFERENTIAL_INTEGRITY FALSE
>   http://h2database.com/html/grammar.html#set_referential_integrity
>
> which it looks like we created to supercede that prior command.
>
> On 16 June 2016 at 15:38, Noel Grandin <noelgran...@gmail.com> wrote:
>
>> Probably the only thing you could do would be to
>> (a) catch that exception
>> (b) spawn a subprocess which invokes a custom program which uses the last
>> version of H2 to support that check to upgrade your DB to current schema,
>> then close the DB
>> (c) then the main program can re-open the DB and proceed with further
>> upgrading
>>
>> ​
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to h2-database+unsubscr...@googlegroups.com.
> To post to this group, send email to h2-database@googlegroups.com.
> Visit this group at https://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to