Hello,
i'm new working with Hibernate and i would like to know if it is possible to
1. MAKE A REFERENCE OF A COLLECTION OF EMBEDDABLE ELEMENTS TO A DATABASE VIEW? 2. IF YES, HOW COULD I DO THIS?
The View is calculated from the UNION of two SELECTS. The Relationship is made throw the atrribute key (see example) and not the key of the Entity. Is it that possible?
Example:
a) The Entity @Entity public class ContainerClass ... ... private Set<ObjectToEmbed> embeds; private String key;
b) The Object to embed @Embbeable public class ObjectToEmbed ... private String key;
Thanks in advance!
|