Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
NHibernate.Linq Alpha Released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chad Lee  
View profile  
 More options Jan 15, 4:53 pm
From: Chad Lee <chadl...@gmail.com>
Date: Thu, 15 Jan 2009 15:53:26 -0600
Local: Thurs, Jan 15 2009 4:53 pm
Subject: NHibernate.Linq Alpha Released

NHibernate.Linq is a Linq provider for NHibernate 2.0.1 GA.  It processes
Linq expressions using NHibernate's Criteria API.  This release is meant as
a stopgap release pending an implementation not reliant on the Criteria
API.  Most queries are supported with the exception of the following:

   - Group Joins
   - Subqueries in select clause

For a more complete list of unsupported queries, you can look at the skipped
test cases in the source distribution.

Any feedback can be sent to the NHibernate user group (
http://groups.google.com/group/nhusers).  Issues can be submitted to
http://jira.nhibernate.org/.  Please go to
http://sourceforge.net/project/showfiles.php?group_id=216446&package_...
download.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
reach4thelasers  
View profile  
 More options Jan 15, 7:43 pm
From: reach4thelasers <kev.m.mul...@googlemail.com>
Date: Thu, 15 Jan 2009 16:43:08 -0800 (PST)
Local: Thurs, Jan 15 2009 7:43 pm
Subject: Re: NHibernate.Linq Alpha Released
Hi Chad,

do you know if its possible to get this to work with the NH trunk? or
is it impossible?  I tried compiling a version against it last week
but I had a lot of bother getting things to work.  Is there any strict
technical reason why it shouldn't work?

thanks,

Kev

On Jan 15, 9:53 pm, Chad Lee <chadl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Jack  
View profile  
 More options Jan 16, 9:32 am
From: Colin Jack <colin.j...@gmail.com>
Date: Fri, 16 Jan 2009 06:32:33 -0800 (PST)
Local: Fri, Jan 16 2009 9:32 am
Subject: Re: NHibernate.Linq Alpha Released
Great work, looking forward to trying out newest version.

On Jan 15, 9:53 pm, Chad Lee <chadl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chadly  
View profile  
 More options Jan 16, 10:14 am
From: Chadly <chadl...@gmail.com>
Date: Fri, 16 Jan 2009 07:14:42 -0800 (PST)
Local: Fri, Jan 16 2009 10:14 am
Subject: Re: NHibernate.Linq Alpha Released
NH.Linq was working with the trunk up until the previous revision.  It
was necessary to compile against NH GA for release.  If you want to
build NH.Linq from the NH trunk, you can just update to r695 of
NHContrib which is the previous revision of NH.Linq which compiles
against trunk.

On Jan 15, 6:43 pm, reach4thelasers <kev.m.mul...@googlemail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
reach4thelasers  
View profile  
 More options Jan 16, 10:30 am
From: reach4thelasers <kev.m.mul...@googlemail.com>
Date: Fri, 16 Jan 2009 07:30:01 -0800 (PST)
Local: Fri, Jan 16 2009 10:30 am
Subject: Re: NHibernate.Linq Alpha Released
Great!  Thanks!!  Awesome work on the release!

On Jan 16, 3:14 pm, Chadly <chadl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed C.  
View profile  
 More options Jan 16, 4:31 pm
From: "Ed C." <defeated...@gmail.com>
Date: Fri, 16 Jan 2009 13:31:59 -0800 (PST)
Local: Fri, Jan 16 2009 4:31 pm
Subject: Re: NHibernate.Linq Alpha Released
How does this compare to the NH LINQ provider from http://slagd.com/?p=21
?

On Jan 15, 4:53 pm, Chad Lee <chadl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicao  
View profile  
 More options Jan 19, 7:41 pm
From: Nicao <nic...@gmail.com>
Date: Mon, 19 Jan 2009 16:41:19 -0800 (PST)
Local: Mon, Jan 19 2009 7:41 pm
Subject: Re: NHibernate.Linq Alpha Released
@ Ed C.
Definitely go with this provider instead.  The version I posted at
slagd was just a quick patch so users could keep using linq.  This one
is more mature.

On Jan 16, 2:31 pm, "Ed C." <defeated...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Jack  
View profile  
 More options Jan 20, 12:36 pm
From: Colin Jack <colin.j...@gmail.com>
Date: Tue, 20 Jan 2009 09:36:41 -0800 (PST)
Local: Tues, Jan 20 2009 12:36 pm
Subject: Re: NHibernate.Linq Alpha Released
I've just gotten r695 but when I try to build NHibernate.Linq I get
two errors:

Error   1       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'NHibernate.ICriteria.Future<T>()'     C:
\Projects\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src
\NHibernate.Linq\Util\DetachedCriteriaAdapter.cs        19      15      NHibernate.Linq
Error   2       The type or namespace name 'Dynamic' does not exist in the
namespace 'System.Linq' (are you missing an assembly reference?)        C:
\Projects\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src
\NHibernate.Linq.Tests\DynamicQueryTests.cs     3       19      NHibernate.Linq.Tests

Any ideas?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Jack  
View profile  
 More options Jan 21, 3:58 am
From: Colin Jack <colin.j...@gmail.com>
Date: Wed, 21 Jan 2009 00:58:27 -0800 (PST)
Local: Wed, Jan 21 2009 3:58 am
Subject: Re: NHibernate.Linq Alpha Released
Sorry to post again but when I upgrade to the current version of
NHibernate Contrib the errors I get when building against the latest
version of NHibernate from the trunk are:

Error   1       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'System.ICloneable.Clone()'  C:\Projects
\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src\NHibernate.Linq
\Util\DetachedCriteriaAdapter.cs        19      15      NHibernate.Linq
Error   2       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member
'NHibernate.ICriteria.GetRootEntityTypeIfAvailable()'   C:\Projects\stack
\NHibernateCOntrib\trunk\src\NHibernate.Linq\src\NHibernate.Linq\Util
\DetachedCriteriaAdapter.cs     19      15      NHibernate.Linq
Error   3       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'NHibernate.ICriteria.ClearOrders()' C:
\Projects\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src
\NHibernate.Linq\Util\DetachedCriteriaAdapter.cs        19      15      NHibernate.Linq
Error   4       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'NHibernate.ICriteria.Future<T>()'     C:
\Projects\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src
\NHibernate.Linq\Util\DetachedCriteriaAdapter.cs        19      15      NHibernate.Linq
Error   5       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'NHibernate.ICriteria.SetFlushMode
(NHibernate.FlushMode)' C:\Projects\stack\NHibernateCOntrib\trunk\src
\NHibernate.Linq\src\NHibernate.Linq\Util\DetachedCriteriaAdapter.cs
19      15      NHibernate.Linq
Error   6       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'NHibernate.ICriteria.SetComment(string)'    C:
\Projects\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src
\NHibernate.Linq\Util\DetachedCriteriaAdapter.cs        19      15      NHibernate.Linq
Error   7       'NHibernate.Linq.Util.DetachedCriteriaAdapter' does not
implement interface member 'NHibernate.ICriteria.SetFetchSize(int)'     C:
\Projects\stack\NHibernateCOntrib\trunk\src\NHibernate.Linq\src
\NHibernate.Linq\Util\DetachedCriteriaAdapter.cs        19      15      NHibernate.Linq


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tuna Toksoz  
View profile  
 More options Jan 21, 4:36 am
From: Tuna Toksoz <tehl...@gmail.com>
Date: Wed, 21 Jan 2009 11:36:49 +0200
Local: Wed, Jan 21 2009 4:36 am
Subject: Re: [nhusers] Re: NHibernate.Linq Alpha Released

rev695 made it work against current trunk, except the fact that Future<T>
implementation for ICriteria. I implemented it and throw an exception, then
it built.

Tuna Toksöz
http://tunatoksoz.com

Typos included to enhance the readers attention!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew  
View profile  
 More options Mar 11, 6:14 pm
From: Drew <drew.lo...@gmail.com>
Date: Wed, 11 Mar 2009 15:14:12 -0700 (PDT)
Local: Wed, Mar 11 2009 6:14 pm
Subject: Re: NHibernate.Linq Alpha Released
Greetings all,

I realize this is something of a silly question (an alpha is an alpha,
right?) but is this release usable for production? I recently joined
an enterprise-scale project and am evaluating ORM implementations,
with NHibernate and Entity Framework on the short-list. To give me my
first experience with NHibernate to best evaluate it I'd like to
implement a very small production project using NHibernate.Linq. (A
simple web service to be used by external entities meaning we don't
want to be embarrassed by breakage.) Current best estimate is to
implement the very small project within a month, a medium project by
the middle of July, and everything else in an 8-16 month time frame.

Will NH.Linq be up to heavy-duty use in this time frame?

Research into the Entity Framework indicates the desired feature set
won't be available until at least after upcoming 2010 release, and
frankly we can't wait that long. I'm hoping NHibernate can provide
what we're looking for in a timelier manner?

Any thoughts, suggestions, or comments regarding the situation? If
you've used it what has your experience been with NH.Linq?

Thanks so much for your help!

Drew

On Jan 15, 2:53 pm, Chad Lee <chadl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Bunce  
View profile  
 More options Mar 12, 12:22 pm
From: Graham Bunce <grahambu...@hotmail.com>
Date: Thu, 12 Mar 2009 09:22:11 -0700 (PDT)
Local: Thurs, Mar 12 2009 12:22 pm
Subject: Re: NHibernate.Linq Alpha Released
Personally, I'd design my app to take account of the Alpha nature. If
EF isn't going to be ready then you don't have a lot of choice. No
other freeware solution comes close to NH in my opinion.

In our company I've designed the apps so I have a formal repository
that implements an interface in the domain later. This interface
defines that has methods you can call but the repository implements
them. This reverse dependency is wired together via an IoC product
such as Spring.NET or Unity.

Therefore I have a choice in the repository how I implement the method
- I can use Linq-NH, which works in 70-80% of cases or, where it gets
complicated I can shift to HQL. The domain layer doesn't care how the
repository does it.

Although it isn't "pure" and I don't really like it, I do expose a an
IQuerable<T> Query property in the repository for those simple ad-hoc
queries that Linq excels at, so I don't need a special method for
every single simple thing I need to do.

I also make sure my developers know Linq-NH isn't a fully featured
Linq implementation (e.g. I can't get it to do joins) but as least I
have an architecutre in place to work around any issues that crop up.

I also have an architecure to swap to EF if I need to in 2010 / 2012
but I expect with NH 3.0 Linq will be fully featured and I won't
really need to.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Drew  
View profile  
 More options Mar 12, 2:08 pm
From: Drew <drew.lo...@gmail.com>
Date: Thu, 12 Mar 2009 11:08:40 -0700 (PDT)
Local: Thurs, Mar 12 2009 2:08 pm
Subject: Re: NHibernate.Linq Alpha Released
That sounds like fantastic advice, I think I'll try just that.

Thank you!!!

Drew Loika

On Mar 12, 9:22 am, Graham Bunce <grahambu...@hotmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Bunce  
View profile  
 More options Mar 12, 8:07 pm
From: Graham Bunce <grahambu...@hotmail.com>
Date: Thu, 12 Mar 2009 17:07:52 -0700 (PDT)
Local: Thurs, Mar 12 2009 8:07 pm
Subject: Re: NHibernate.Linq Alpha Released
Good luck, NH is a great product but its a big learning curve from
scratch. My first experience of it was sorting out another (fired)
architects mistakes so I've been through the fire with it.

Look at Jimmy Nielson - Domain Driven Design; a good book that really
makes you think about persistence ignorance. If you enforce neutrality
in the domain layer (i.e. be ultra strict about not allowing NH to
bleed into it) then you keep your options open for the future. IMO
anyway.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google