Re: [hibernate-dev] Extract some methods form AbtractEntityManagerImpl

2014-02-26 Thread Emmanuel Bernard
I see a couple of options and a big fundamental question. All need feedback from the ORM gurus I am not sure AbstractEntityManager is a SPI in the first place. Naively I’d say it should be an internal class. Anyone remembers why it’s an SPI? 1. If AbstractEntityMangerImpl becomes internal, it’s

[hibernate-dev] Extract some methods form AbtractEntityManagerImpl

2014-02-14 Thread Davide D'Alto
Hi, in OGM I'm reusing some of the methods in AbstractEntityMangerImpl, the problem is that their scope is protected and I had to move OgmEntityManager from the original package to *org.hibernate.jpa.spi* Is it possible to expose these methods in some way, so that I can move OgmEntityManager to th