-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancementA general enhancement
Milestone
Description
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).
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancementA general enhancement