m-m-m / util

Mature Modular Meta-Framework
http://m-m-m.sourceforge.net
Apache License 2.0
10 stars 5 forks source link

mmm-persistence: config bug in impl-jpa #117

Closed hohwille closed 10 years ago

hohwille commented 10 years ago

beans-persistence-jpa-hibernate.xml contains a type in version 1.0.0. <property name="packagesToScan" value="${persistence.packagesToScan}]"/>

the closing square bracket is misplaced and does not belong there. I have to figure out why this was not covered by the unit tests...

hohwille commented 10 years ago

the tests are using this XML config and have been green due to the fact that the property contains two packages to scan and the last one was not required for the test. This was evaluated to those two packages with a closing square bracket at the end of the last package. Since the spring bean ignores packages it can not find, this worked. This is also the workaround for those that face this issue until the next release is published. The issue has already been fixed on git master.