add
Project
Changelog
@Modifying(clearAutomatically = true
)
@Query(value = "INSERT INTO " + CHANGELOGS_KEY
+ "( "
+ IDENTIFIER_KEY + ","
+ CHANGELOG_EVENT_KEY + ","
+ CHANGELOG_EXTRA_CONTENT_KEY + ","
+ CHANGELOG_READ_KEY + ","
+ CHANGELOG_TIMESTAMP_KEY + ","
+ PROJECT_IDENTIFIER_KEY + ","
+ CHANGELOG_OWNER_KEY + ") VALUES "
+ "( "
+ ":" + IDENTIFIER_KEY + ","
+ ":#{#" + CHANGELOG_EVENT_KEY + ".name()},"
+ ":" + CHANGELOG_EXTRA_CONTENT_KEY + ","
+ "false,"
+ ":" + CHANGELOG_TIMESTAMP_KEY + ","
+ ":" + PROJECT_IDENTIFIER_KEY + ","
+ ":" + CHANGELOG_OWNER_KEY + ")",
nativeQuery = true
)