[hibernate-dev] hbm mapping files and EntityManager

Gail Badner gbadner at redhat.com
Mon Jan 18 21:44:14 EST 2016


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.archive.autodetection="".

I was surprised by the default. I would have thought that an application
using EntityManager would need to explicitly opt-in to use hbm files.

Thanks,
Gail


More information about the hibernate-dev mailing list