From 403b4e6e84c80c78925670914c6ead33c7251f13 Mon Sep 17 00:00:00 2001 From: Camelia Dumitru Date: Wed, 30 Oct 2024 16:04:44 +0000 Subject: [PATCH] Fixing the SQL Error in QA --- .../persistence/dao/impl/PublicApiDailyRateLimitDaoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orcid-persistence/src/main/java/org/orcid/persistence/dao/impl/PublicApiDailyRateLimitDaoImpl.java b/orcid-persistence/src/main/java/org/orcid/persistence/dao/impl/PublicApiDailyRateLimitDaoImpl.java index 75f7154925..589811693b 100644 --- a/orcid-persistence/src/main/java/org/orcid/persistence/dao/impl/PublicApiDailyRateLimitDaoImpl.java +++ b/orcid-persistence/src/main/java/org/orcid/persistence/dao/impl/PublicApiDailyRateLimitDaoImpl.java @@ -95,7 +95,7 @@ public boolean updatePublicApiDailyRateLimit(PublicApiDailyRateLimitEntity papiR query.setParameter("ipAddress", papiRateLimitingEntity.getIpAddress()); } query.setParameter("requestCount", papiRateLimitingEntity.getRequestCount()); - query.setParameter("requestDate", papiRateLimitingEntity.getRequestDate().toString()); + query.setParameter("requestDate", papiRateLimitingEntity.getRequestDate()); return query.executeUpdate() > 0; }