#303 view support

This commit is contained in:
sunzhengfang
2017-11-01 14:54:08 +08:00
parent dfdea42c4e
commit c086ac3d1c
@@ -43,12 +43,11 @@ public class FileSystemRepository implements Reposoitory {
//Judge whether exist the basedir
createBaseDir();
viewCreateSqlMap = this.getObject();
//open a channel of the view config file
RandomAccessFile randomAccessFile = new RandomAccessFile(baseDir + baseName, "rw");
rwChannel = randomAccessFile.getChannel();
viewCreateSqlMap = this.getObject();
} catch (Exception e) {
LOGGER.warn("init view from file error make sure the file is correct :" + e.getMessage());
}