Hi,

Why does the second connection calls the *INIT* when the database *tes*t is 
already in memory via the first connection? 

    
DriverManager.getConnection("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;INIT=runscript 
from 'test/snapshot.sql'");

    
DriverManager.getConnection("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;INIT=runscript 
from 'test/snapshot.sql'");

I expected the INIT to behave like derby's *createFrom*.  What I see is that 
INIT is called everytime the connection is made.

Thanx,

--Ivo


-- 
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