spring-boot/spring-boot-autoconfigure
Andy Wilkinson b542aa3de6 Configure Hibernate with a WAS-specific JtaPlatform when running on WAS
At the time of writing WAS only supports JPA 2.0 which means that
Hibernate 4.2 is the latest version that can be used. SpringJtaPlatform
is Hibernate 4.3-specific as JtaPlatform’s package changed between
Hibernate 4.2 and 4.3. This means that SpringJtaPlatform can’t be used
on current versions of WAS. Futhermore, SpringJtaPlatform won’t work on
WAS even if we could use Hibernate 4.3 as WAS doesn’t make its
TransactionManager available to application code (it’s considered too
dangerous for general consumption) and SpringJtaPlatform
requires a TransactionManager.

This commit updates HibernateJpaAutoConfiguration to always treat WAS as
a special case and configure Hibernate with one of its WAS-specific
JtaPlatform implementations. 

Closes gh-2326
2015-01-21 18:09:23 +00:00
..
src Configure Hibernate with a WAS-specific JtaPlatform when running on WAS 2015-01-21 18:09:23 +00:00
.gitignore Restore test classes 2014-06-01 13:11:25 +01:00
pom.xml Add auto-configuration for Jetty’s GzipFilter 2015-01-16 12:07:28 +00:00