I have these two tables where i want to enter values of selected hobbies "selectHobbies" into emp_hobbies so how should i do it, is there a method to directly enter the data to column from list or should i use String array to hold this value for entering to database.
Also there is a dependency between table, so for first attribute how should enter the value of emp_Id to emp_Id_ref.
I'm getting the key from table
with this key i want to enter the ArrayList data to table emphobbies.
for example emp_Id_ref hobbies
subject: Inserting list(ArrayList) data on multivalued attribute