#46 Please add constructor ExtractionDBCache(Connection)

closed
nobody
5
2014-10-22
2012-06-06
Anonymous
No

To get an in-memory cache, I have to use the slightly hacky "new ExtractionDBCache("mem:")" (because the aim of the code is to create an on-disk cache the following code may be changed in a later version which would stop this from working):

"conn = DriverManager.getConnection("jdbc:h2:"+databaseDirectory+"/"+databaseName+jdbcString, "sa", "");

So I would like to have a new constructor where you can provide the Connection object directly.

Discussion

    • status: open --> closed
    • Group: --> latest_Subversion_code
     
  • ExtractionDBCache will be replaced in V1.0.