We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88fa91e + 41e95c7 commit 21ef115Copy full SHA for 21ef115
fhir-persistence-schema/src/main/java/com/ibm/fhir/schema/app/Main.java
@@ -374,6 +374,10 @@ protected void updateSchema() {
374
if (!MULTITENANT_FEATURE_ENABLED.contains(dbType) && newDb ) {
375
populateResourceTypeAndParameterNameTableEntries(null);
376
}
377
+
378
+ // Let's refresh the procedures and functions.
379
+ logger.info("Refreshing procedures and functions");
380
+ updateProcedures();
381
382
383
/**
@@ -475,7 +479,7 @@ protected void updateProcedures() {
475
479
tx.setRollbackOnly();
476
480
throw x;
477
481
478
- c.commit();
482
+ // Reminder: Don't fall into the trap, let the connectionPool and Transaction Management handle the transaction commit.
483
} catch (SQLException x) {
484
485
throw translator.translate(x);
0 commit comments