Skip to content

Commit

Permalink
Merge pull request #1140 from SvendDomdey/issue-1138
Browse files Browse the repository at this point in the history
fix: TypeORM Health Check for SAP HANA
  • Loading branch information
BrunnerLivio authored Apr 4, 2021
2 parents 749975d + dc32733 commit 2a14077
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/health-indicator/database/typeorm.health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ export class TypeOrmHealthIndicator extends HealthIndicator {
case 'oracle':
check = connection.query('SELECT 1 FROM DUAL');
break;
case 'sap':
check = connection.query('SELECT now() FROM dummy');
break;
default:
check = connection.query('SELECT 1');
break;
Expand Down

0 comments on commit 2a14077

Please sign in to comment.