Hi,

> When I disconnect the network to that PC, for simulate a network error
> I get no exception or notification while running queries.

Most likely because data is cached in memory.

> I guess that all the update queries are save in the in-memory.

No, they are also stored on the disk.

> The question is how can I configure H2 to notify me on lost connection
> to the storage file, and when the network is back on ?

In theory, you could write a file system implementation that re-tries
read and write operations (H2 supports a pluggable file system). But
is it really required to open the database in this way, or can you use
the server mode?

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to