This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
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