update
Project
Version
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + PROJECTS_KEY + " SET "
+ PROJECT_VERSION_KEY + "=:" + PROJECT_VERSION_KEY
+ " WHERE " + AUTHOR_KEY + "=:" + AUTHOR_KEY + " AND "
+ IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to update to the last published update project_version the project_version of the Project
Parameters
author
: the author of the project
projectId
The project identifier
version
The last project_version of the project