JPA – Java Persistence API JEE 5 / EJB3 Persistence Provides an ORM framework similar to Hibernate / JDO Good Bye Entity Beans!!! In this article, we will learn how we can create query methods by using the query generation from the method name strategy. Spring Data JPA offers various ways to create a query. In this article, we will focus on how to generate a query using method name strategy. In this short tutorial, we learned how to create LIKE queries in Spring JPA Repositories. First, we learned how to use the provided keywords to create query methods. Then, we learned how to accomplish the same tasks using the @Query parameter with both named and ordered parameters. The full example code is available over on GitHub.