@Thomas: we can maybe add it to DS itself: "insert"?
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-10-02 10:58 GMT+02:00 Thomas Hug <[email protected]>: > I'd not try overriding save - the way the called method is resolved is not > predictable if the method signature is the same. Adding a new method should > do it though. > > On Thu, Oct 2, 2014 at 10:12 AM, hwaastad <[email protected]> wrote: > >> Hi, >> and thanks for answering. >> >> I'm extending the abstractentityrepository so I'll start testing override >> on >> the save method or just adding another method. >> If that does'nt suit my needs, I'll have a closer look at the >> entitymanagerdelegate. >> >> thanks again, >> br hw >> >> >> >> -- >> View this message in context: >> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Repository-save-duplicate-key-tp4659067p4659069.html >> Sent from the Apache DeltaSpike Incubator Discussions mailing list archive >> at Nabble.com. >>
