[hibernate-dev] orm.xml scanning issue

Emmanuel Bernard emmanuel at hibernate.org
Wed Aug 1 04:05:59 EDT 2018


What does that even mean the "root of the classpath"?
Which classlaoder do we use to look up the resources? That's the one
showing us multiple entries.

On Tue 18-07-31 17:51, Guillaume Smet wrote:
>From what I understand, the issue is that we don't consider only the root
>file but also files deep in the hierarchy:
>https://github.com/spring-projects/spring-boot/issues/10363 .
>
>On Tue, Jul 31, 2018 at 5:46 PM Emmanuel Bernard <emmanuel at hibernate.org>
>wrote:
>
>> You'll need to check but AFAIR the spec says that META-INF/orm.xml is
>> automatically added. So the fault is on the builder of
>> PersistenceUnitInfo to include it. But we could be friendly and detect
>> the addition of the same file twice.
>>
>> Emmanuel
>>
>> On Tue 18-07-31 17:23, Guillaume Smet wrote:
>> >Hi,
>> >
>> >This issue seems legit to me:
>> >https://hibernate.atlassian.net/browse/HHH-12873
>> >
>> >That being said, I'm not familiar at all with the boot process so I might
>> >be wrong.
>> >
>> >Could someone confirm and take a look at this issue? It looks annoying for
>> >people using Spring Boot.
>> >
>> >Thanks!
>> >
>> >--
>> >Guillaume
>> >_______________________________________________
>> >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