Spring Jpa Reository -
i prepared hql query , stored in string variable. using spring jpa repositories deal database.
i want execute hql query using spring reprository. able find way how invoke without @query annotation.
how run hql queries in spring jpa without @query annotation?
there 2 ways can try.
use
@namedquery. check out this.write custom repository , use criteria builder interact database.
Comments
Post a Comment