Correction of Delete HQL,
November 26, 2009 at 2:32 PM
Guys,
If you are using the roseindia.tutorial.hibernate.Contact example - then the simple delete statement will not work. e.g delete from contact where ID=3 - will give you a message like Contact is not mapped.
Correction is
String hql = "delete from roseindia.tutorial.hibernate.Contact where ID = 3"; will work fine.
View All Comments
| View Tutorial