package Ġorg . gob lin framework . example . database . mongo . dao Ċ Ċ import Ġorg . bson . types . ObjectId Ċ import Ġorg . gob lin framework . dao . annotation . Persistence Connection Ċ import Ġorg . gob lin framework . dao . mongo . persistence . G ob lin Static Dao Ċ import Ġorg . gob lin framework . dao . mongo . persistence . Mongo Persistence Collection Ċ import Ġorg . gob lin framework . dao . mongo . persistence . Mongo Persistence Database Ċ import Ġorg . gob lin framework . example . database . mongo . entity . Mongo Example Data Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ @ Repository Ċ @ Persistence Connection ( connection Ġ= Ġ" example ") Ċ @ Mongo Persistence Database ( database Ġ= Ġ" test ") Ċ @ Mongo Persistence Collection ( collection Ġ= Ġ" mongo _ example _ data ") Ċ class ĠMongo Example Data Dao Ġ: ĠG ob lin Static Dao < Mongo Example Data , ĠObjectId >()