edit
Application
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + APPLICATIONS_KEY +
" SET " +
NAME_KEY + "=:" + NAME_KEY + "," +
DESCRIPTION_KEY + "=:" + DESCRIPTION_KEY +
" WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to edit an existing application
Parameters
applicationId
The identifier of the application
name
The name of the application
description
The description of the application
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + APPLICATIONS_KEY +
" SET " +
NAME_KEY + "=:" + NAME_KEY + "," +
DESCRIPTION_KEY + "=:" + DESCRIPTION_KEY + "," +
APPLICATION_ICON_KEY + "=:" + APPLICATION_ICON_KEY +
" WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to edit an existing application
Parameters
applicationId
The identifier of the application
name
The name of the application
description
The description of the application
icon
The icon of the application