I have an app that backups up its database and then restores from the backup. The restore does not recreate the database correctly because the creation of a view is in the backup before the creation of the underlying table. The sequence in the backup file is:
Creation of view Creation of table Insert of data I have got around it by recreating the view after the restore but this is a bug in h2. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/41a6d39e-137c-4af5-8333-636725f033d0%40googlegroups.com.