Fixed bug

This commit is contained in:
Luca Frosini 2021-03-18 13:34:02 +01:00
parent 41fb6aa88c
commit f04987da10
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
RecordToDBConnection recordDBInfo = RecordToDBMapping.getRecordDBInfo(clz);
if(recordDBInfo == null) {
RecordToDBMapping.addRecordToDB(clz, configuration);
recordDBInfo = RecordToDBMapping.getRecordDBInfo(clz);
}
return recordDBInfo.getConnection();
}