Hi Nathan and kumar,
thanks for the sample, it work ..
i have some questions, below is my implementation :
the DB table result will show below :
my question here :
1)if i would like to have country_id to be
string , for example country_id like "JP" , and i have modify the coutry.hbm.xml as above, it prompt me error like Table server.country' doesn't exist , is it the right way to do it ?