コード例 #1
0
  @Override
  protected void initializeDataSource(BasicDataSource ds, Properties db) {
    super.initializeDataSource(ds, db);
    try {
      SpatiaLiteDataStoreFactory.addConnectionProperties(ds);
      SpatiaLiteDataStoreFactory.initializeDataSource(ds);
    } catch (IOException e) {
      throw new RuntimeException(e);
    }

    ds.setDefaultTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);
  }
コード例 #2
0
 @Override
 protected void setUpDataStore(JDBCDataStore dataStore) {
   super.setUpDataStore(dataStore);
   dataStore.setDatabaseSchema(null);
 }