Skip to content

Commit

Permalink
AMP-30885: Configure Internal projects for Ecowas
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbrix committed Nov 3, 2024
1 parent eb4a797 commit bfb52c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static ImportedFilesRecord saveFile(File file, String filename) throws IO
String generatedHash = generateSHA256Hash(file);
logger.info("Saving File hash is " + generatedHash);

String sql = "INSERT INTO imported_files_record (id, file_hash, import_status, file_name) VALUES (nextval('IMPORTED_FILES_RECORD_SEQ'), :fileHash, :importStatus, :fileName)";
String sql = "INSERT INTO imported_files_record (id, file_hash, import_status, file_name) VALUES (nextval('IMPORTED_FILES_RECORD_SEQ'), :fileHash, :importStatus, :fileName) RETURNING id";
Query query = session.createSQLQuery(sql);
query.setParameter("fileHash", generatedHash);
query.setParameter("importStatus", ImportStatus.UPLOADED);
Expand Down

0 comments on commit bfb52c0

Please sign in to comment.