Skip to content

VSN-2685/ fix: slotIndex in file response, Hibernate PostgreSQL ClobJdbcType fix, deletedFileIds on update

fatima senan a demandé de fusionner feature/VSN-2685 vers develop

Summary

  • FileMetadataResponseDto now exposes slotIndex so clients can restore multi-slot image fields to their correct positions
    when reloading a saved inspection
  • Native queries added to InspectionFieldAnswerRepository to work around Hibernate 6.1 mapping @Lob StringClobJdbcType on PostgreSQL, which caused PSQLException: Bad value for type long when reading plain TEXT columns
  • Column aliases corrected in the two native UPDATE queries (section_id / subsection_id instead of the old Hibernate-generated aliases)
  • updateInspection now accepts List<Long> deletedFileIds so files can be explicitly removed during an inspection update
  • application.yml sets preferred_long_string_jdbc_type: LONGVARCHAR as a global Hibernate workaround for the same ClobJdbcType issue
Modification effectuée par fatima senan

Rapports de requête de fusion