JPQL - custom queries

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.

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