-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: SQL Server doesn't support table aliases in DELETE
PostPosted: Wed Mar 23, 2005 1:14 pm 
Regular
Regular

Joined: Tue Mar 01, 2005 2:35 pm
Posts: 60
Hibernate version:
3.0rc1

Name and version of the database you are using:
SQL Server 2003

The generated SQL (show_sql=true):
delete from dbo.webUserRequest webuserreq0_ where (webuserreq0_.webUserID=?)

Is there a way that I can change this behavoir in the dialect, or does this need to be changed in the distribution?

Here's the BNF for DELETE:

Umm... my copy and paste seems to be broken somehow. I'm blaming Eclipse or Firefox. You'll just have to take my word for it. :D


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 1:21 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
known bug with mssql....being fixed in cvs.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 1:23 pm 
Regular
Regular

Joined: Tue Mar 01, 2005 2:35 pm
Posts: 60
max wrote:
known bug with mssql....being fixed in cvs.


Ooo, great to hear. I'll just use JDBC until then. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 3:35 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
fixed in CVS.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.