File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes getting Problem in hibernate delete Query... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "getting Problem in hibernate delete Query..." Watch "getting Problem in hibernate delete Query..." New topic
Author

getting Problem in hibernate delete Query...

Jigar Gohil
Greenhorn

Joined: Dec 04, 2008
Posts: 11
hi...i am trying to execute the following query...



and getting following error...

org.hibernate.hql.ast.QuerySyntaxError: unexpected token: tblSuperProfMapping near line 1, column 56 [delete from com.moneymax.hibernate.TblSuperProfMapping tblSuperProfMapping where vcreatedBy='MMADMIN']


can any body tell me why am getting this error....

[ December 04, 2008: Message edited by: Jigar Gohil ]
[ December 04, 2008: Message edited by: Jigar Gohil ]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Can we see your mapping file?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting Problem in hibernate delete Query...
 
Similar Threads
Cleared SCJP 5
Problem with Hibernate HQL Delete
Solved : How delete oldest records
BatchUpdateException : getUpdateCounts doesn't work properly
Weired error comes while using stored procedure with hibernate