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

Support embedded objects with fields needing (join) table embedded in multiple places #139

Open
andyjefferson opened this issue Nov 14, 2016 · 0 comments

Comments

@andyjefferson
Copy link
Member

If we have an embedded object with a field of type Set and this stored in a (join) table, we currently only allow this to be stored in a single table. If the embedded object is embedded in multiple different owner classes then we need to support each embedding owner to specify its own join table.

The methods
RDBMSStoreManager.getTable(AbstractMemberMetaData mmd)
RDBMSStoreManager.getBackingStoreForField(ClassLoaderResolver clr, AbstractMemberMetaData mmd, Class type)
RDBMSStoreManager.getBackingStoreForCollection(AbstractMemberMetaData mmd, ClassLoaderResolver clr, Class type)
RDBMSStoreManager.newJoinTable(Table ownerTable, AbstractMemberMetaData mmd, ClassLoaderResolver clr)
are likely the ones needing updates to support this

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