A few clarifications on different URL types
Embedded connection vs server mode
I have an app running in grails that runs on a server. On the same server
I have H2 running.
Does this mean the grails app can talk to the H2 db ? (no external
connections)
or
The grails app cannot talk to the db ?
======================================================
Setting user and password
What is the difference between
URL="jdbc:h2:tcp://localhost/mem:test;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1;"
java -cp h2*.jar org.h2.tools.Shell -url "${URL};INIT=RUNSCRIPT FROM
'putdata.sql'" -user cool -password columbus -sql "SET @ignore_me = 0;"
vs
URL=jdbc:h2:file:~/sample;USER=sa;PASSWORD=123
Essentially setting password in java command line vs password in the URL.
Am I understanding this all wrong ?
--
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 https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.