Hi Friends,
Can somebody help with hibernate mapping file to map List<Integer>
Example :
Calss Game
int gameId;
String gameName;
List<Integer> playDays;
Tables:
GAME TABLE
GAMEID INT(4)
GAMENAME VARCHAR(10)
....
....
AND PRIMARY KEY IS GAMEID
GAME_DAYS TABLE
GAMEID(4)
PLAYDAY INT(1)
GAMEID,PLAYDAY Together primary key
GAMEID forighn KEY
I know how to map list<objects> like list<student> etc.. but not sure how to map list<String> or list<Integer> can somebody help me...
Thanks