Permalink
Browse files

QI-354 JdbmEntityStoreMixin restore does not work in Windows environm…

…ents

Solution: do a recordmanager close before renaming temporary database file to actual database file.
  • Loading branch information...
1 parent bc8f849 commit 01ff96b18ea163c5be7d61f68cbee0f0022a1dfe @arvidhuss committed Mar 20, 2012
@@ -333,6 +333,8 @@ public void receive(String item)
// Import went ok - continue
recordManager.commit();
+ // close file handles otherwise Microsoft Windows will fail to rename database files.
+ recordManager.close();
lock.writeLock().lock();
try

0 comments on commit 01ff96b

Please sign in to comment.