with hibernate there is a fairly straightforward way to have Collections of basic types as a type for the field of an entity. e.g. a field with the type of Set<String>.
I can't find any evidence that this is possible with activeObjects - is it?
There is no something like ElementCollection/CollectionTable in AO,
Only way is to have parent-child DB relation and then in parent entity you have @OneToMany:
// I guess that reverse is optional if you only one relation between parent-child tables @OneToMany(reverse = "getParentEntity") public ChildEntity getChildEnitities();
A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events