I changed it to use the contact table that already is defined and have a row (id = 6) since before. I could not see that we have defined the table insurance. So I did this small change and it works
Contact contact = (Contact)sess.get(Contact.class, new Long(6)); contact.setFirstName("Thomas"); sess.update(contact);
View All Comments
| View Tutorial