Persistence.createEntityManagerFactory(Map) should allow dynamic specification of jta datasource

Description

In the persistence.xml, no jta-data-source or non-jta-data-source is specified.

Attempting to use the javax.persistence.jtaDataSource property (e.g. to reference a JBoss EAP datasource) in a property map supplied when creating the entity manager factory but the property seems to be ignored.

This may or may not be related to HHH-12858.

Environment

None

Activity

Show:
Steve Ebersole
October 2, 2019, 2:41 AM

I asked you to create this, but upon further investigation I think this is really the same as the linked issue

Assignee

Unassigned

Reporter

Stephen Fikes

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure