1.while doing hibernate joins, is it necessary to create two tables and relate them with primary key and foreign keys? and in MySQL while giving primary key to long datatype, it is not accepting...