Created
October 7, 2019 13:24
-
-
Save sohangp/57726f8b5204de8d4049aa8406ff6d9f to your computer and use it in GitHub Desktop.
Named Parameter for FirstName
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This will list all customers based on first name. | |
* | |
* @return List<CustomerDetailsDTO> | |
*/ | |
@Query(name = "customerEntity.searchCustomerByFirstName", nativeQuery = true) | |
List<CustomerDetailsDTO> searchCustomerByFirstName(@Param("firstName") String firstName); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment