My initial goals and foreseeable decision-points in consolidating hibernate-core and hibernate-entitymanager are:
1. SessionFactory extends EntityManagerFactory (+ HibernateEntityManagerFactory methods) 2. Session extends EntityManager 3. Managing event-listener differences is the biggest thing we need to watch for. Initially I plan on having both sets of listener impls available and picking one or the other based on whether we were bootstrap via JPA bootstrapping or not. I'll have to see how that plays out. 4. Speaking of bootstrapping... since SessionFactory extends EntityManagerFactory, the bootstrapping APIs introduced in 5.0 is capable of building an EntityManagerFactory. I'd additionally like to develop an extended persistence.xml XSD, adding Hibernate specifics and allow JPA and Hibernate-native bootstrapping to read it. 5. Another big question is exceptions. JPA is very specific about the exceptions types that should be thrown in most cases. Ideally we can blend these 2 exception type hierarchies, but I think there will be times we have to chose one or the other. On Thu, Mar 31, 2016 at 7:23 AM Hardy Ferentschik <ha...@hibernate.org> wrote: > Hi, > > > 3. Baseline on Java 8 > > I did not vote on the other thread, so I do it here +1 :-) > > > Another one I'd like to discuss is the consolidation of the > hibernate-core > > and hibernate-entitymanager modules into a single module > > +1 I would love to see this finally happening. There were several > discussions > over time on whether and when it should be done. I think there was a > general agreement > that it makes sense to merge the modules, but afair there were always some > technicalities > which were preventing us to do it. ORM 6 seems to be a good point in time > to just do it. > > > --Hardy > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev