From a1316895e7d2d85c33718b064de5c0d496853f27 Mon Sep 17 00:00:00 2001 From: Simon Hohl Date: Mon, 25 Nov 2024 15:36:20 +0100 Subject: [PATCH] Add whitespace --- .../main/java/de/uni_koeln/arachne/dao/jdbc/GenericSQLDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/de/uni_koeln/arachne/dao/jdbc/GenericSQLDao.java b/backend/src/main/java/de/uni_koeln/arachne/dao/jdbc/GenericSQLDao.java index 4d10cc30a..3e118e227 100644 --- a/backend/src/main/java/de/uni_koeln/arachne/dao/jdbc/GenericSQLDao.java +++ b/backend/src/main/java/de/uni_koeln/arachne/dao/jdbc/GenericSQLDao.java @@ -275,7 +275,7 @@ public List getImageList(final String type, final long internalId) { + "FROM `marbilder` " + "LEFT JOIN `arachneentityidentification` " + "ON (`arachneentityidentification`.`TableName` = 'marbilder' " + "AND `arachneentityidentification`.`ForeignKey` = `marbilder`.`PS_MARBilderID`) " + "WHERE " - + SQLToolbox.getQualifiedFieldname("marbilder", SQLToolbox.generateForeignKeyName(type)) + " = ? AND `arachneentityidentification`.`isDeleted` = 0" + + SQLToolbox.getQualifiedFieldname("marbilder", SQLToolbox.generateForeignKeyName(type)) + " = ? AND `arachneentityidentification`.`isDeleted` = 0 " + "ORDER BY `marbilder`.`EntityOrder` ASC" + userRightsService.getSQL("marbilder"); PreparedStatement ps = con.prepareStatement(sql);