Re: [hibernate-dev] hbm mapping files and EntityManager

2016-01-19 Thread Gail Badner
I see what happened. In 4.2, when exclude-unlisted-classes is true, hbm files are not detected. [1] This got broken in 4.3 and is still broken in 5.0. [2] I've created HHH-10461 to fix this. [1] https://github.com/hibernate/hibernate-orm/blob/4.2/hibernate-entitymanager/src/main/java/org/hiberna

Re: [hibernate-dev] hbm mapping files and EntityManager

2016-01-19 Thread Steve Ebersole
I am fairly certain this what Hibernate has always done. On Mon, Jan 18, 2016 at 8:44 PM Gail Badner wrote: > By default, hbm mapping files are detected when building Hibernate > EntityManager. > > Is that expected? > > I see that it is possible to override this behavior by setting > hibernate.a