SpringData_dao

Springdata comes with some keywords to search, can not perform complex SQL.

 Repository specification method declarations 

1. query to find | read | get beginning 

2. When it comes to the conditions of the query, use the keyword (first letter capitalized) connection 

 

Note that in each interface package dao above

@Repository add comments

Guess you like

Origin www.cnblogs.com/summerOnlyOne/p/12483701.html