On Fri, May 2, 2014 at 4:49 PM, hendrik <[email protected]> wrote:
> 1) Basically, I'm wondering whether query results for exactly the same
> query, but issued via a PreparedStatements, are cached per connection or per
> database.
>

Per connection.

> 2) And while we're at it, and because it is obviously connected: When are
> cached results invalidated?
>

We maintain a schema version number that we use to invalidate the cache.

> 3) The CACHE_SIZE parameter - is it per connection or per database? I
> assume, it's per database, right?
>

Per database.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to