Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobomara901 committed Oct 23, 2024
1 parent 5e00464 commit 31fdf62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified code/reindexer/reindexer.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ protected FormatInfo getFirstFormatFromBib(org.marc4j.marc.Record record, BaseIn

public void regroupAllRecords(Connection dbConn, IndexingProfile indexingProfile, GroupedWorkIndexer indexer, IlsExtractLogEntry logEntry) throws SQLException {
logEntry.addNote("Starting to regroup all records");
logEntry.addNote("THIS IS THE CORRECT METHOD");

PreparedStatement getAllRecordsToRegroupStmt = dbConn.prepareStatement("SELECT ilsId from ils_records where source = ? and deleted = 0", ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
PreparedStatement getOriginalPermanentIdForRecordStmt = dbConn.prepareStatement("SELECT permanent_id from grouped_work_primary_identifiers join grouped_work on grouped_work_id = grouped_work.id WHERE type = ? and identifier = ?", ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
getAllRecordsToRegroupStmt.setString(1, indexingProfile.getName());
Expand Down

0 comments on commit 31fdf62

Please sign in to comment.