store
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 + "," +
APPLICATION_IDENTIFIER_KEY + "," +
DEVICE_IDENTIFIER_KEY +
") VALUES ('" +
ISSUE_KEY + "'," +
":" + IDENTIFIER_KEY + "," +
":" + CREATION_DATE_KEY + "," +
":" + NAME_KEY + "," +
":" + APP_VERSION_KEY + "," +
":#{#" + PLATFORM_KEY + ".name()}" + "," +
":" + ISSUE_KEY + "," +
":" + APPLICATION_IDENTIFIER_KEY + "," +
":" + DEVICE_IDENTIFIER_KEY +
")",
nativeQuery = true
)
Method to store a new issue
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
applicationId
The identifier of the application where the issue occurred
deviceId
The identifier of the device where the issue occurred