Repositories are partial beans, so the JIRA issue comment from Gerhard might help.
Can't resist advertising Arquillian and its persistence extension here if you look for a testing solution alternative ;-) - this works nicely with repositories and doesn't need any (tedious) mocking. On Tue, Sep 2, 2014 at 3:10 PM, hwaastad <[email protected]> wrote: > Hi, > yes it's for testing only. > > I'm running openjb embedde (4.7.0) and I can define projectstage in > container properties. > > I've been using @excludes for my SLSB to mock underlying business API's and > I was hoping to use the same approch with my repositories. > > I'll have a look at the partialbindingextension aswell. > > br hw > > > > -- > View this message in context: > http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/mocking-of-abstractentityrepository-implementations-tp4658745p4658751.html > Sent from the Apache DeltaSpike Incubator Discussions mailing list archive > at Nabble.com. >
