New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support override properties for elements of persistence.xml #80

Closed
andyjefferson opened this Issue Apr 6, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@andyjefferson
Member

andyjefferson commented Apr 6, 2017

persistence.xml has elements jtaDataSource, nonJtaDataSource, sharedCacheMode, transactionType and validationMode. These can all be overridden by standard properties

"javax.persistence.jtaDataSource"
"javax.persistence.nonJtaDataSource"
"javax.persistence.transactionType"
"javax.persistence.sharedCache.mode"
"javax.persistence.validation.mode"

We should support these overrides in case someone wants to use a persistence-unit and override some of the properties.

@andyjefferson andyjefferson added this to the 5.1.0.m2 milestone Apr 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment