Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 568471d

Browse files
author
Martin Wahnschaffe
committed
SORMAS-Foundation#1221 added comment
1 parent cfec3a2 commit 568471d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sormas-backend/src/main/java/de/symeda/sormas/backend/common/StartupShutdownService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ private void updateDatabase(EntityManager entityManager, String schemaFileName)
586586
continue;
587587
}
588588

589+
// escape for hibernate
590+
// note: This will also escape ':' in pure strings, where a replacement may cause problems
589591
nextLine = nextLine.replaceAll(":", "\\\\:");
590592

591593
// Add the line to the StringBuilder

0 commit comments

Comments
 (0)