[hibernate-dev] hbm mapping files and EntityManager

Steve Ebersole steve at hibernate.org
Tue Jan 19 10:18:29 EST 2016


I am fairly certain this what Hibernate has always done.

On Mon, Jan 18, 2016 at 8:44 PM Gail Badner <gbadner at redhat.com> 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.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
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list