I can't get the update example to work. That part isn't explained very well. I don't know what its supposed to be doing. When I run it it creates an empty insurance table and comes up with this. "Hibernate: select insurance0_.ID as ID2_0_, insurance0_.insurance_name as insurance2_2_0_, insurance0_.invested_amount as invested3_2_0_, insurance0_.investement_date as investem4_2_0_ from insurance insurance0_ where insurance0_.ID=? null"
Am I supposed to manually insert data into the row before running the UpdateExample? It doesn't help that you can only see question marks when its run as you can't even tell what the actual query it's running is or what ID value it's looking for. JDBC is a lot simpler to use than this hibernate. The Earlier examples were good.
Can anyone help me figure out how to get the UpdateExample to work?