I prefer mechanism that will alow translate database name from URL
(String) to file object (java.io.File). Like that

interface DatabaseFileLocator {
    File findDatabaseFile(String databaseName);
}

The default implementation will do just the same that H2 does now (add
".h2.db" extension and so on..) and this can be changed to your own
implementation with any behavior you want. But this is again about
support of service providers in H2 which is still absent...

I think that support of SPI can solve almost all of such problems very
gracefully.

regards,
Sergi

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to h2-datab...@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to