Skip to content
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

Add ApiAdapter method to abstract some metadata default handling #383

Closed
andyjefferson opened this issue May 23, 2021 · 0 comments
Closed
Milestone

Comments

@andyjefferson
Copy link
Member

andyjefferson commented May 23, 2021

With JPA / Jakarta if using persistent properties and a property is not provided we should default to adding the property internally. With JDO this is the opposite. This logic is currently hardcoded into datanucleus-core metadata classes. We should abstract it out into ApiAdapter and just check on the appropriate method for what to do

Similarly with JPA / Jakarta we have a default mapping-file location for persistence.xml, namely "META-INF/orm.xml". JDO doesn't do this. We should abstract this into ApiAdapter also

@andyjefferson andyjefferson added this to the 6.0.0.m1 milestone May 23, 2021
@andyjefferson andyjefferson changed the title Add ApiAdapter method to say whether we default to adding persistence property when not provided Add ApiAdapter method to abstract some metadata default handling May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant