-->
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.  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Wed Nov 12, 2003 3:15 pm 
Newbie

Joined: Tue Sep 23, 2003 5:19 pm
Posts: 11
A


Top
 Profile  
 
 Post subject: Done?
PostPosted: Tue Nov 02, 2004 10:15 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
gavin wrote:
yeah, I think we should add support for this syntax.


How are things standing about this feature?
I see I'm not the first to ask, but since it has been a year around.

Rgds, Ales


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 02, 2004 10:18 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
it was done ages ago


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 02, 2004 11:19 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Sorry to bother you, but I just don't seem to find this.

I'm using Hibernate 2.1.6, MSSQL 2000, hibernate.dialect=net.sf.hibernate.dialect.SQLServerDialect

Executing this query doesn't do any locking.

Query query = session.createQuery("from Account a");
query.setLockMode("a", LockMode.UPGRADE);
List list = query.list();

--->

DEBUG [02-11-2004 16:06:18] QueryTranslator.java - HQL: from com.generalynx.gema.utils.data.Account a
DEBUG [02-11-2004 16:06:18] QueryTranslator.java - SQL: select account0_.racuni_id as racuni_id, account0_.rac_name as rac_name, account0_.vrstnired as vrstnired, account0_.rac_param as rac_param from racuni account0_ where account0_.instance

Any directions?

with(<?lock>)
How does one say which string is <?lock>, sice you have all these options : 'rowlock', 'updlock', ...

Rgds, Ales


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 9:14 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Found it:
http://opensource.atlassian.com/project ... key=HB-760

Rgds, Ales


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 20 posts ]  Go to page Previous  1, 2

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.