Auto scan for JPA entities does not work in exploded packages in JBoss AS < 7

Description

Persistence units that has exploded packages in "<jar-file>" tag, does not have its entities scanned

Environment

JBoss EAP 5.x, Fedora 15 64b, JDK 1.6.0 Sun/Oracle

Activity

Show:
St├ęphane Nicoll
December 7, 2011, 11:25 AM

Hey Emmanuel, is there any chance you can backport this to 3.6.x please?

Thanks

Emmanuel Bernard
December 7, 2011, 11:38 AM

No chance.

But if a pull request comes with the backport, I can apply it.

ThomasT
December 8, 2011, 10:00 AM

I created a pull request for 3.6 branch= https://github.com/hibernate/hibernate-core/pull/235
Same content as the one from Alessandro, there was just a small conflict in the unit test, as 3.6 was still not using annotations.

Emmanuel Bernard
December 8, 2011, 5:06 PM

Thanks Thomas, I've applied your request

Brett Meyer
March 7, 2014, 10:08 PM

Bulk closing tickets resolved in released versions

Assignee

Emmanuel Bernard

Reporter

Alessandro Lazarotti

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure