If a bunch of people are just adding this functionality should we look at adding it to the source? Was there a reason not to have this helper by default in AbstractDAO?
On Thursday, April 9, 2015 at 11:06:55 AM UTC-7, Carlo Barbara wrote: > > Yeah, that's what we have done too > > On Wed, Apr 8, 2015 at 4:24 PM Ryan Kennedy <[email protected] > <javascript:>> wrote: > >> I suppose everyone's probably calling currentSession().delete(entity) >> inside of their DAO's, instead. >> >> Ryan >> >> >> On Wednesday, April 8, 2015 at 1:17:15 PM UTC-7, Ryan Kennedy wrote: >>> >>> I was surprised to notice that there's no delete/remove method on >>> AbstractDAO in dropwizard-hibernate. There's a delete(Object) method >>> in org.hibernate.Session, which AbstractDAO has a handle to. Does anyone >>> know if there's a history to why there's no way to remove objects using >>> AbstractDAO? >>> >>> Is anyone using dropwizard-hibernate? I wonder how the omission of a >>> pretty basic feature could have gone unaddressed for so long unless >>> nobody's actually using it. >>> >>> Ryan >>> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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.
