save
Application
@Modifying(clearAutomatically = true
)
@Query(value = "INSERT INTO " + APPLICATIONS_KEY + "(" +
IDENTIFIER_KEY + "," +
CREATION_DATE_KEY + "," +
NAME_KEY + "," +
DESCRIPTION_KEY + "," +
APPLICATION_ICON_KEY +
")" + " VALUES " + " ( " +
":" + IDENTIFIER_KEY + "," +
":" + CREATION_DATE_KEY + "," +
":" + NAME_KEY + "," +
":" + DESCRIPTION_KEY + "," +
":" + APPLICATION_ICON_KEY +
")",
nativeQuery = true
)
Method to save and register a new application in the system
Parameters
applicationId
The identifier of the application
creationDate
The creation date when the application has been registered
name
The name of the application
description
The description of the application
icon
The icon of the application