[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] crossing entity managers?

Hi all,

I've got multiple spring files wiring up sets of entities. They each use the auto-injection of Persistence Contexts like this:

<bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>

Now I am running into the problem that some classes can not make certain queries because they don't have the right entity manager. Is there an easy way to combine all entity managers and have a single point that knows about all entities?

Nate