Re: Cannot turn off auto commit?
[email protected] Thu, 8 Sep 2016 10:05:38 +0000
| Newsgroups | gmane.comp.java.hsqldb.user |
|---|---|
| Organization | io7m.com |
| Message-ID | <[email protected]> |
Hello. On 2016-09-07T23:00:17 +0100 Fred Toussi <[email protected]> wrote: > Non-transactional DDL has always been the case. > > If your DDL statements do not contain syntax errors or references to > non-existent database objects, then they won't fail the first time they > are executed. Right. > > The IF NOT EXISTS clause can be used with all database objects. > > You can query the INFORMATION_SCHEMA views to check if a table or other > object exists, before creating database objects. > > You can always drop the whole schema if you want to recreate it. Dropping the schema is fine for initial installation, but what about schema upgrades? If I can't reliably and atomically update the structure of tables, then it would seem that every upgrade has a risk of getting the database into an inconsistent state. M ------------------------------------------------------------------------------ _______________________________________________ Hsqldb-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hsqldb-user
signature.asc
(application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE----- iQIrBAEBCgAVBQJX0TfyDhxtYXJrQGlvN20uY29tAAoJEAKt2nV+RgR4np4P+wf8 NWu7RPvK/YvMYE7jiArD2cQqsShTlFNwYbk0aYVcO9SFLunZhOz4YZgvcqOM6KyC Flto7dPyOApVrqCG6j4mClNMC+JDgluKwLKleT7YzvJTiPIkAfoRci6uYA4/8E14 w4eQn8pn3jMr4vjS5Xi8sdXPwPoka+/bojU6E77b3yHVrqMgttiL5abiJlTcA9rK ZmfJLfU553mUSlLos8bib2Bss1mUD1KlrCdZj+NIxQqfGDbnDe9hlhKzoICReMvM Mg+ETaDx+jwRsWvupfUbtKJrw5SydEZSstRQMDxJGGrN9w62xOsWaSu60EoA7dzv 1W0mdN/Y64weHvVuP2+7khWek83F6TRCCLZp+dqlAMOKksE0g91Sw46JS18o9HNF K5BY2zh4ZMQjiRks9eXatvA545Aj9SOZqhf3C2Bfs9oWe0eaFoMktkttrxDcjT80 6eEyVKwx/hnCvqpumzukMHwnNk6nNGJWK65iiYdxzTUJiFMucTyW/kvLexybp8gP 6wntmraerf6PbQmzN6MnRm2arRH3TOCBIal3evMiEnZjHBhABpNv9IxgK5uRb4QS hOCiP4JiCNKbNBuKzLt/Tp+PZwkCtdhPgr2ciLEO4JpRRK4kNu+vMfFyyel1yBbC ZPpQCvgJW9W+wCzGUTVNkjiMnM/VyIAduat0SMEn =D3TR -----END PGP SIGNATURE-----