Hi, Sorry for the delay.
I could not reproduce the problem: When I try to connect again, I get the exception "The database is open in exclusive mode; can not open additional connections". Are you sure you are using the same database? Because the database URL is relative to the current working directory: jdbc:h2:tcp://localhost:9092/big It would be better to use an absolute path, or relative to the current user home directory: jdbc:h2:tcp://localhost:9092/C:/data/big jdbc:h2:tcp://localhost:9092//data/big jdbc:h2:tcp://localhost:9092/~/data/big Regards, Thomas On Tue, Sep 10, 2013 at 10:13 AM, Morgan Grignard <[email protected] > wrote: > Hi, > > I am currently trying to use exclusive mode combine with H2 server on TCP. > ( client connection definition : > jdbc:h2:tcp://localhost:9092/big;IFEXISTS=TRUE;EXCLUSIVE=1) > My test reveal that i retrieve a connection although another connection is > already open. > > Is this normal? > > How can i configure my connection to obtain the expected behaviour? > > Regards, > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
