See: https://github.com/timmolter/dropwizard-sundial#inject-global-objects-or-config-parameters-into-a-job
Just put your reference in the servlet context. On Monday, December 5, 2016 at 3:19:43 PM UTC+1, Abhishek Kotwal wrote: > > Hi Tim, > > I followed your article on followed link > https://github.com/timmolter/dropwizard-sundial > > I must say article was very much thorough and clear. Hats off to you man > !!! > I am struck with a hibernate session in my Job class, I need to update DB > through my JOB which I have created by following your article, How will I > get a hibernate session or Dao reference in my Job class so I can use that > to update DB ? Looking forward to hear from you soon. > > Thanks, > Abhishek K > > On Friday, June 19, 2015 at 2:38:01 PM UTC+5:30, Tim Molter wrote: >> >> What does your annotated-jobs-package-name: >> look like in your *.yml file? >> >> ~Tim >> >> -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
