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.  [ 6 posts ] 
Author Message
 Post subject: MARS Support?
PostPosted: Wed Oct 04, 2006 12:31 pm 
Newbie

Joined: Wed Oct 04, 2006 12:27 pm
Posts: 3
Hello, me and my team are currently using LLBLGen which does not support MARS and were wondering if NHibernate has added support for MARS. We are using SQL2005. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 12:57 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
Sorry, some of us are still here on Earth. :D

On a serious note, is MARS the same as the batch support that Ayende wrote? If so, then yes.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 1:08 pm 
Newbie

Joined: Wed Oct 04, 2006 12:27 pm
Posts: 3
Thanks for the quick reply. Im new to these forums, where can I find the post/article on the batch support?

Update: Essentially MARS (multiple active record set) gives the ability to have more than one pending request under a single sql server connection and allows requests to interleave.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 2:25 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 8:45 am
Posts: 226
Not sure if these will be helpful, but here you go.

http://www.ayende.com/Blog/BatchingSupportInNHibernate.aspx

http://fisheye3.cenqua.com/changelog/nhibernate/?cs=2235


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 4:14 pm 
Newbie

Joined: Wed Oct 04, 2006 12:27 pm
Posts: 3
Thanks for looking into it for me. Batching is a different topic, we were really hoping support would be there for MARS which doesn't seem to be the case. It seems like my company would rather scale the application by throwing more hardware at problem to handle the extra connections *sigh*.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 05, 2006 3:54 pm 
Contributor
Contributor

Joined: Sat Sep 24, 2005 11:25 am
Posts: 198
@DavidB,
MARS is used for a very differnet purpose, usually so you can interleve read/write in SQL.

Why do you need this support?
NHibernate supports this, but that is completely invisible to the users.
The SQL Server 2000 dialect doesn't support it, but it is trivial to add, and is on the road map to 1.2
You can open a JIRA if this is so important, but I would love to hear about the use case that require this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.