@ -39,4 +39,4 @@ public final class KeyDictionaryEntry {
@Column(name = KEY_ID_COLUMN, unique = true, columnDefinition = "int", insertable = false, updatable = false)
private Integer keyId;
}
@ -35,4 +35,4 @@ public interface KeyDictionaryRepository extends JpaRepository<KeyDictionaryEntr
@Query(value = "INSERT INTO key_dictionary (key) VALUES (:key) ON CONFLICT (key) DO UPDATE SET key = EXCLUDED.key RETURNING key_id", nativeQuery = true)
Integer upsertAndGetKeyId(@Param("key") String key);