You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In contrast to the commonly used LocalContainerEntityManagerFactoryBean, the simpler LocalEntityManagerFactoryBean does not accept or expose a JDBC DataSource reference. Based on the "jakarta.persistence.dataSource" property (which can be used for passing in a DataSource reference via our jpaPropertyMap already), a setDataSource method and in particular a getDataSource method for autodetection in JpaTransactionManager are worth exposing.
Further configuration options could be added to LocalEntityManagerFactoryBean based on JPA 3.2, once we are on a Jakarta EE 11 baseline; see #31157 (comment).
The text was updated successfully, but these errors were encountered:
In contrast to the commonly used
LocalContainerEntityManagerFactoryBean
, the simplerLocalEntityManagerFactoryBean
does not accept or expose a JDBCDataSource
reference. Based on the "jakarta.persistence.dataSource" property (which can be used for passing in a DataSource reference via ourjpaPropertyMap
already), asetDataSource
method and in particular agetDataSource
method for autodetection inJpaTransactionManager
are worth exposing.Further configuration options could be added to
LocalEntityManagerFactoryBean
based on JPA 3.2, once we are on a Jakarta EE 11 baseline; see #31157 (comment).The text was updated successfully, but these errors were encountered: