org.springframework.data.jpa.repository.query.Procedure Java Examples

The following examples show how to use org.springframework.data.jpa.repository.query.Procedure. 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: CarRepository.java    From tutorials with MIT License 4 votes vote down vote up
@Procedure
int GET_TOTAL_CARS_BY_MODEL(String model);
 
Example #2
Source File: CarRepository.java    From tutorials with MIT License 4 votes vote down vote up
@Procedure("GET_TOTAL_CARS_BY_MODEL")
int getTotalCarsByModel(String model);
 
Example #3
Source File: CarRepository.java    From tutorials with MIT License 4 votes vote down vote up
@Procedure(procedureName = "GET_TOTAL_CARS_BY_MODEL")
int getTotalCarsByModelProcedureName(String model);
 
Example #4
Source File: CarRepository.java    From tutorials with MIT License 4 votes vote down vote up
@Procedure(value = "GET_TOTAL_CARS_BY_MODEL")
int getTotalCarsByModelValue(String model);
 
Example #5
Source File: CarRepository.java    From tutorials with MIT License 4 votes vote down vote up
@Procedure(name = "Car.getTotalCardsbyModelEntity")
int getTotalCarsByModelEntiy(@Param("model_in") String model);
 
Example #6
Source File: UserRepository.java    From spring-boot with Apache License 2.0 2 votes vote down vote up
/**
 * Explicitly mapped to a procedure with name "plus1inout" in database.
 *
 * @see DATAJPA-455
 */
@Procedure("plus1inout")
Integer explicitlyNamedPlus1inout(Integer arg);
 
Example #7
Source File: UserRepository.java    From spring-boot with Apache License 2.0 2 votes vote down vote up
/**
 * Implicitly mapped to a procedure with name "plus1inout" in database via alias.
 *
 * @see DATAJPA-455
 */
@Procedure(procedureName = "plus1inout")
Integer plus1inout(Integer arg);
 
Example #8
Source File: UserRepository.java    From spring-boot with Apache License 2.0 2 votes vote down vote up
/**
 * Explicitly mapped to named stored procedure "User.plus1IO" in {@link EntityManager}.
 *
 * @see DATAJPA-455
 */
@Procedure(name = "User.plus1IO")
Integer entityAnnotatedCustomNamedProcedurePlus1IO(@Param("arg") Integer arg);
 
Example #9
Source File: UserRepository.java    From spring-boot with Apache License 2.0 2 votes vote down vote up
/**
 * Implicitly mapped to named stored procedure "User.plus1" in {@link EntityManager}.
 *
 * @see DATAJPA-455
 */
@Procedure
Integer plus1(@Param("arg") Integer arg);
 
Example #10
Source File: UserRepository.java    From spring-data-examples with Apache License 2.0 2 votes vote down vote up
/**
 * Explicitly mapped to named stored procedure {@code User.plus1IO} in the {@link EntityManager}
 *
 * @see User
 */
@Procedure(name = "User.plus1")
Integer plus1BackedByOtherNamedStoredProcedure(Integer arg);
 
Example #11
Source File: UserRepository.java    From spring-data-examples with Apache License 2.0 2 votes vote down vote up
/**
 * Directly map the method to the stored procedure in the database (to avoid the annotation madness on your domain
 * classes).
 */
@Procedure
Integer plus1inout(Integer arg);