• Andy Wilkinson's avatar
    Configure Hibernate with a WAS-specific JtaPlatform when running on WAS · b542aa3d
    Andy Wilkinson authored
    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
    b542aa3d
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...