package Ġcom . j ugal . repository Ċ Ċ import Ġorg . springframework . data . jpa . repository . Jpa Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ import Ġjavax . transaction . Transactional Ċ import Ġcom . j ugal . data . Department Ċ import Ġcom . j ugal . data . Employee Ċ Ċ @ Repository Ċ @ Transactional Ċ interface ĠDepartment Repository Ġ: ĠJ pa Repository < Department , ĠInt > Ġ{ ĊĠĠĠ Ġfun ĠfindBy Code ( code : ĠString ): ĠDepartment ĊĠĠĠ Ġfun ĠfindBy Department ID ( dept ID : ĠInt ): ĠDepartment Ċ } Ċ Ċ @ Repository Ċ @ Transactional Ċ interface ĠEmployee Repository Ġ: ĠJ pa Repository < Employee , ĠInt > Ġ{ ĊĠĠĠ Ġfun ĠfindBy Dept ID ( dept ID : ĠInt ): ĠList < Employee > Ċ }