Hmmm.

No, not easily.
If you were to come up with a patch that added such a system function, I would 
think it useful enough to add it.
(grep the source code for ARRAY_GET, system functions are reasonably easy to 
add)

On 2014-10-31 05:18 AM, Kenton Garner wrote:
I run H2 in a mixed mode ( AUTO_SERVER = TRUE ).

I have a test system that starts multiple JVM's/applications and synchronizes 
their start/stop and query activities to
force worst case conditions.

Is there a method, query or test I can perform programmatically to tell if a 
session is the embedded one?

I would like to close the embedded connection to force one of the other 
connected clients sessions to become the
embedded server.

I am trying to track down / reproduce an issue we experience starting and 
stopping multiple mix-mode connections
simultaneously.


Thanks in advance.

--
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] 
<mailto:[email protected]>.
To post to this group, send email to [email protected] 
<mailto:[email protected]>.
Visit this group at http://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 [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