store Web Issue

@Modifying(clearAutomatically = true )
@Query(value = "INSERT INTO " + ISSUES_KEY + " (" + "dtype" + "," + IDENTIFIER_KEY + "," + CREATION_DATE_KEY + "," + NAME_KEY + "," + APP_VERSION_KEY + "," + PLATFORM_KEY + "," + ISSUE_KEY + "," + BROWSER_KEY + "," + BROWSER_VERSION_KEY + "," + APPLICATION_IDENTIFIER_KEY + "," + DEVICE_IDENTIFIER_KEY + ") VALUES ('" + WEB_ISSUE_KEY + "'," + ":" + IDENTIFIER_KEY + "," + ":" + CREATION_DATE_KEY + "," + ":" + NAME_KEY + "," + ":" + APP_VERSION_KEY + "," + ":#{#" + PLATFORM_KEY + ".name()}" + "," + ":" + ISSUE_KEY + "," + ":" + BROWSER_KEY + "," + ":" + BROWSER_VERSION_KEY + "," + ":" + APPLICATION_IDENTIFIER_KEY + "," + ":" + DEVICE_IDENTIFIER_KEY + ")", nativeQuery = true )
abstract fun storeWebIssue(@Param(value = "id") id: String, @Param(value = "creation_date") creationDate: Long, @Param(value = "name") name: String, @Param(value = "app_version") appVersion: String, @Param(value = "platform") platform: Platform, @Param(value = "issue") issue: String, @Param(value = "browser") browser: String, @Param(value = "browser_version") browserVersion: String, @Param(value = "application_id") applicationId: String, @Param(value = "device_id") deviceId: String)

Method to store a new issue occurred on a browser

Parameters

id

The identifier of the issue

creationDate

When the issue occurred

name

The name of the issue

appVersion

The version of the application where the issue occurred

platform

The platform of the application where the issue occurred

issue

The issue cause message

browser

The browser where the issue occurred

browserVersion

The version of the browser where the issue occurred

applicationId

The identifier of the application where the issue occurred

deviceId

The identifier of the device where the issue occurred