Use reflection to load Hibernate version specific classes

This adds support for Hibernate 4.2 again by loading the specific
classes with reflection.

Fixes gh-1460, fixes gh-1557
This commit is contained in:
Manuel Doninger
2014-09-14 12:04:28 +02:00
committed by Dave Syer
parent 9af8fdb8a1
commit 02e33c125c
2 changed files with 31 additions and 10 deletions

View File

@@ -66,7 +66,7 @@
<module>spring-boot-sample-websocket</module>
<module>spring-boot-sample-ws</module>
<module>spring-boot-sample-xml</module>
</modules>
</modules>
<!-- No dependencies - otherwise the samples won't work if you change the
parent -->
<build>