• Phillip Webb's avatar
    Check factory bean for EntityManager datasource · 050460f6
    Phillip Webb authored
    Update `DataSourceInitializedPublisher` to fallback to the
    `LocalContainerEntityManagerFactoryBean` if the
    `javax.persistence.nonJtaDataSource` property is not defined.
    
    As of Hibernate 4.3 the property is no longer set if the `EntityManager`
    is created from a `PersistenceUnitInfo` instance rather than actual
    properties.
    
    Although this is being addressed in Hibernate issue HHH-13432, it's
    not strictly a requirement of the JPA spec that the property is set.
    
    Fixes gh-17061
    050460f6
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...