spring-boot/spring-boot-project/spring-boot-autoconfigure
Phillip Webb 050460f635 Check factory bean for EntityManager datasource
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
2019-09-26 12:14:13 -07:00
..
src Check factory bean for EntityManager datasource 2019-09-26 12:14:13 -07:00
pom.xml Merge branch '2.0.x' into 2.1.x 2019-03-19 17:04:41 +00:00