Hi,
Im using struts2.0, hibernate3.2 and
java 1.5 in my application. Actual problem is im fetching the data from oracleDB using date field. The record which i was fetched is set to the bean in the
jsp page itself. After modifying the data in the form and clicks on submit button it creates a new bean and sets the data in the new bean.Instead of update in hibernate query it is inserting the record and displays an error message " batch update exception". id is a primary key in the table.If i use hidden field for id in the jsp it displays "id already exists exception".
if anyone knows the solution please tell me the solution. thanks in advance.
Regards,
Ravi