Hi don't understand the problem with namedQuery
<query name="updtae.payment.paymentDate.by.txn_id">
<![CDATA[
update Payment p set p.paymentDate =:payDate WHERE p.txnId=:txnId]]>
</query>
getting exception HIbernate org.hibernate.HibernateException: Errors in named queries
no columns same us entity Name It works fine in local And don't on production server
getSession().getNamedQuery("updtae.payment.paymentDate.by.txn_id").setTimestamp("payDate",paymentDate ).setString("txnId", txnId).executeUpdate();
Here is call of named query.
I fix problem buy changing hibernate version
from Hibernate-Version: 3.0.5
to Hibernate-Version: 3.2.1.ga