Commit 11ee0eb0 authored by R.W.Majeed's avatar R.W.Majeed

fixed missing call to prepare statements

parent a90eabaa
......@@ -160,6 +160,7 @@ public class PostgresPatientStore extends PostgresExtension<I2b2Patient> impleme
// this.autoInsertSourceId = "HS.auto";
patientCache = new Hashtable<>(1000);
idCache = new Hashtable<>(1000);
prepareStatements();
loadMaxPatientNum();
batchLoad();
}
......
......@@ -131,7 +131,7 @@ public class PostgresVisitStore extends PostgresExtension<I2b2Visit> implements
// require project id
Objects.requireNonNull(this.projectId, "non-null projectId required");
db.setAutoCommit(true);
prepareStatements();
loadMaxEncounterNum();
batchLoad();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment