Commit ed46b5a3 authored by R.W.Majeed's avatar R.W.Majeed

fixed NPE

parent 2e5c87de
......@@ -154,6 +154,8 @@ public class PostgresPatientStore extends PostgresExtension<I2b2Patient> impleme
}
public void open(Connection connection, String projectId) throws SQLException{
this.db = connection;
this.projectId = projectId;
// require project id
Objects.requireNonNull(this.projectId, "non-null projectId required");
// this.autoInsertSourceId = "HS.auto";
patientCache = new Hashtable<>(1000);
......
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