Jan 25th, 2011, 09:39 AM
Can any one tell what is the difference b/n following two:
I have following form definition.
<form:form modelAttribute="invoice" commandName="invoice" enctype="multipart/form-data">
by doing @SessionAttributes("invoice") I am getting error at the time when new Invoice is created .
and by doing @SessionAttributes(types =Invoice.class) I am getting error at the time of invoice update. at update error is:
ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
Tags for this Thread