This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line! See this thread for details.
I am able to successfully create and insert entries in a table via Hibernate, however for some reason I am unable to update records within my database created by Hibernate. I created an individual method for update and delete as seen below (NOTE: I have also included the POJO class I created):
As aforementioned, the table is successfully created in a MySQL database. However, I am unable to update an objects Marks (grade) via my HQL query:
The purpose of the update method is to effectively take one of the records in the table via the id column and updates the element in the marks column.