hibernate - Jpa join fetch sub query -


@query("select p project p join fetch p.notes n order n.date p.id=?1)") project getprojectforemployee(long id);

i want select project specific id. p.notes list of notes(onetomany). so, p.notes must order date.

thank you


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -