Here is a small example of how to pull in a List of a single field from a separate table into a mapped entity.
Or you can also pull in a list of objects using the @Embeddable annotation, like this.
And here is the reference to the Hibernate Docs for more info.
No comments:
Post a Comment