H2 and its database URL for files: about extensions
30 views
Skip to first unread message
Paluee
unread,
Dec 11, 2009, 4:36:48 PM12/11/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to H2 Database
Hi there,
On the tutorial for URL format I see this.
*****************************************************************************
Topic URL Format and Examples
Embedded (local) connection jdbc:h2:[file:][<path>]<databaseName>
jdbc:h2:~/test
jdbc:h2:file:/data/sample
jdbc:h2:file:C:/data/sample (Windows only)
******************************************************************************
I am interested in the embeded and this URL:
jdbc:h2:file:C:/data/sample (Windows only)
I am a little confused about what the extension is for the file based
database.
In the example above is the name of the single file on disk "sample".
If there is no extension for this H2 database, can one created a
database file name like
"sample.hdb"
So hence my URL would now be :
"jdbc:h2:file:C:/data/sample.hdb"
Please let me know if it does or it doesn't have some required
extension.
And if not can I name it with one.
Sincerely,
Paul
Thomas Mueller
unread,
Dec 14, 2009, 3:15:41 PM12/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h2-da...@googlegroups.com
Hi,
> I am a little confused about what the extension is for the file based
> database.