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
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: