org.springframework.data.jdbc.repository.query.Modifying Java Examples

The following examples show how to use org.springframework.data.jdbc.repository.query.Modifying. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 5 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #2
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #3
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #4
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #5
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #6
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #7
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #8
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #9
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #10
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #11
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@RestResource(exported = true)
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #12
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #13
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #14
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #15
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #16
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #17
Source File: LegoSetRepository.java    From spring-data-examples with Apache License 2.0 4 votes vote down vote up
@Modifying
@Query("UPDATE model set name = lower(name) WHERE name <> lower(name)")
int lowerCaseMapKeys();
 
Example #18
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #19
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")	
   void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #20
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #21
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #22
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #23
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #24
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #25
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #26
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #27
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);
 
Example #28
Source File: MessageDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("DELETE FROM message WHERE username = :username AND millis = :millis")   
void deleteMessageBy(@Param("username") String username, @Param("millis") String millis);
 
Example #29
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET enabled = 1 WHERE name = :name")
   void activateAccount(@Param("name") String name);
 
Example #30
Source File: AccountDAO.java    From Spring5Tutorial with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Modifying
@Query("UPDATE account SET password = :password WHERE name = :name")	
   void updatePassword(@Param("name") String name, @Param("password") String password);