From 0335db7aa767ec8d6ea6afa847f6a283ee12258f Mon Sep 17 00:00:00 2001 From: pierre-maraval Date: Mon, 25 Nov 2024 11:29:11 +0100 Subject: [PATCH] =?UTF-8?q?FIX=20:=20optimisation=20requ=C3=AAte=20doi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/fr/abes/sudoc/component/BaseXmlFunctionsCaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/abes/sudoc/component/BaseXmlFunctionsCaller.java b/src/main/java/fr/abes/sudoc/component/BaseXmlFunctionsCaller.java index 2153532..e863bea 100644 --- a/src/main/java/fr/abes/sudoc/component/BaseXmlFunctionsCaller.java +++ b/src/main/java/fr/abes/sudoc/component/BaseXmlFunctionsCaller.java @@ -49,7 +49,7 @@ public List doiToPpn(String doi) throws UncategorizedSQLException { request.append("' and a.tag='017$a' "); request.append("and a.id in (select /*+ no_index(b BIBLIO_TABLE_FRBR_0XX_IDX_DATA) */ id from autorites.biblio_table_FRBR_0xx b where "); request.append("a.id=b.id and "); - request.append("b.tag='017$2' and SUBSTR(b.datas,1,50)='DOI' and a.POSFIELD=b.POSFIELD and b.POSSUBFIELD='2')"); + request.append("b.tag='017$2' and upper(SUBSTR(b.datas,1,50))='DOI' and a.POSFIELD=b.POSFIELD and b.POSSUBFIELD='2')"); return baseXmlJdbcTemplate.queryForList(request.toString(), String.class); } }