connect Platform

@Modifying(clearAutomatically = true )
@Query(value = "INSERT INTO " + PLATFORMS_KEY + "(" + APPLICATION_IDENTIFIER_KEY + "," + PLATFORM_KEY + ")" + " VALUES " + " ( " + ":" + APPLICATION_IDENTIFIER_KEY + "," + ":#{#" + PLATFORM_KEY + ".name()}" + ")", nativeQuery = true )
abstract fun connectPlatform(@Param(value = "application_id") applicationId: String, @Param(value = "platform") platform: Platform)

Method to connect a platform version for an existing application

Parameters

applicationId

The identifier of the application

platform

The platform to connect