package Ġorg . my yr ak le . my blog . repository Ċ Ċ import Ġorg . my yr ak le . my blog . entity . Category Entity Ċ import Ġorg . springframework . data . jpa . repository . Jpa Repository Ċ import Ġorg . springframework . data . jpa . repository . Modify ing Ċ import Ġorg . springframework . data . jpa . repository . Query Ċ import Ġorg . springframework . data . repository . query . Param Ċ import Ġorg . springframework . stereotype . Repository Ċ import Ġorg . springframework . transaction . annotation . Transactional Ċ import Ġjava . util .* Ċ Ċ @ Repository Ċ interface ĠCategory Repository : ĠJ pa Repository < Category Entity , ĠInt > Ċ { ĊĠĠĠ Ġfun ĠfindAll By GroupId (@ Param (" its _ group ") Ġid : ĠInt ): ĠList < Category Entity > ĊĠĠĠ Ġfun ĠfindAll By GroupId OrderBy Position (@ Param (" its _ group ") Ġid : ĠInt ): ĠList < Category Entity > ĊĠĠĠ Ġ// fun ĠfindBy Category Name (@ Param (" category _ name ") Ġcategory Name : ĠString ): ĠOptional < Category Entity > Ċ }