package Ġcom . ps ench ank a . com ant . dao . impl Ċ Ċ import Ġcom . ps ench ank a . com ant . dao . L ecture Dao Ċ import Ġcom . ps ench ank a . com ant . model . L ecture Ċ import Ġorg . hibernate . SessionFactory Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ @ Repository (" lecture Dao ") Ċ open Ġclass ĠL ecture Dao Impl Ġ@ Autowired Ġconstructor ( session Factory : ĠSession Factory ) ĊĠĠĠĠĠĠĠĠ Ġ: ĠL ecture Dao , ĠAbstract Dao Impl < L ecture , ĠInt >( session Factory , ĠL ecture :: class . java )