# JPQL - custom queries

**URL:** <https://discourse.hibernate.org/t/jpql-custom-queries/4708>\
**Category:** Hibernate ORM\
**Created:** [November 1, 2020, 3:56pm UTC](https://discourse.hibernate.org/t/jpql-custom-queries/4708 "2020-11-01T15:56:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karengsh](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@karengsh](https://discourse.hibernate.org/u/karengsh)\
**Post date:** [November 1, 2020, 3:56pm UTC](https://discourse.hibernate.org/t/jpql-custom-queries/4708/1 "2020-11-01T15:56:59Z")

</div>

Hi expert,  
I am not sure if this is the right place to ask this question cos I am using Hibernate for my JPA in springboot.

There is a method -  
void Create(User user) at the repository

My question is how do I perform the query in this case ?  
I can’t find any answer in the internet for some strange reason…  
Hope someone can advise me.  
Tks.

---

<div class="post-metadata">

**Author:** ![beikov](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/beikov/32/258_2.png) [@beikov](https://discourse.hibernate.org/u/beikov)\
**Post date:** [November 4, 2020, 4:55pm UTC](https://discourse.hibernate.org/t/jpql-custom-queries/4708/2 "2020-11-04T16:55:23Z")

</div>

See the Spring Data JPA documentation: [https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods](https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods)
