Skip to content

Commit

Permalink
Merge pull request #312 from georchestra/fix-importer-when-validated
Browse files Browse the repository at this point in the history
FIx importer when md is already validated
  • Loading branch information
pmauduit authored Jan 7, 2025
2 parents c4fa96f + 67dffb4 commit 3b68e90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public interface MetadataValidationRepositoryCustom {
* @param metadataId the id of the metadata.
* @return the number of rows deleted
*/
@Modifying(clearAutomatically=true)
@Modifying(flushAutomatically = true, clearAutomatically = true)
@Transactional
@Query(value="DELETE FROM MetadataValidation v where v.id.metadataId = ?1 AND valtype != 'inspire'")
int deleteAllInternalValidationById_MetadataId(Integer metadataId);
Expand Down

0 comments on commit 3b68e90

Please sign in to comment.