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

Ability to store generic entity information #3

Open
theJenix opened this issue Jul 16, 2013 · 0 comments
Open

Ability to store generic entity information #3

theJenix opened this issue Jul 16, 2013 · 0 comments

Comments

@theJenix
Copy link
Owner

Sometimes, I may want to store a reference that could be one of a couple different entities. Java provides limited support for this beyond exposing an Object as the field type. ORMada could look at this object (appropriately tagged) and store a reference to the class of the reference. That way, it could pull back and recreate any arbitrary entity, and it would be up to the consumer to figure out how to interpret it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant