I want to use following SQL by HibernateTemplate().update:
update mytable1,mytable2 set mytable1.name='Jack',mytable2.salary='999' where mytable1.id='1' and mytable2.work='true' and mytable1.id=mytable2.id
How to realize it by using HibernateTemplate().update?
Thanks in advance!


Reply With Quote