Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

query spring boot

@Query(
  value = "SELECT * FROM USERS u WHERE u.status = 1", 
  nativeQuery = true)
Collection<User> findAllActiveUsersNative();
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #query #spring #boot
ADD COMMENT
Topic
Name
3+9 =