Hi, i'm pretty new at using Hibernate and i've come across a problem that does not seem to be covered by the documentation.
Simply put, how do you map multiple lists to the same table? I have a data structure that looks like this:
/** the SUBSDATA record id */
private int id;
/** record number */
private int subRecNumber;
/** active IMSI number */
private String subActiveImsi;
/** MSISDN */
private String subMsisdn;
/** additional MSISDN */
private ArrayList<String> subAddMsisdnList;
/** Bearer Capability (BC) number tied to Additional MSISDN */
private ArrayList<Integer> subBcNumberList;
/** Service pointer for Basic Service (BS) that represents the BC number */
private ArrayList<Integer> subBsPointerList;
Can i write the XML file in such a way that the 3 ArrayLists will be mapped to the same table? The lists all have the same number of elements, and i wanna get a structure based on a common index. Also, if i cannot do this, any suggestions on how to map this more effectively?
|