Skip to content

Commit

Permalink
FIX : optimisation requête doi
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-maraval committed Nov 25, 2024
1 parent 0a22ed0 commit 0335db7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public List<String> 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);
}
}

0 comments on commit 0335db7

Please sign in to comment.