﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Dirc commented on NHibernate 2.0 Alpha is out!</title><description>There is no mention anywhere on the timescales for the 2.0 release. Can anyone enlighten us further ?
  
  
Out of interest, who decides this sort of stuff?
  
  
Dirc
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment30</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment30</guid><pubDate>Tue, 06 May 2008 15:05:30 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>@Matthew,
  
Please ask in the list
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment29</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment29</guid><pubDate>Fri, 02 May 2008 10:01:18 GMT</pubDate></item><item><title>Matthew Robinson commented on NHibernate 2.0 Alpha is out!</title><description>Thanks for your wonderful work on NHibernate. I've just been introduced to it a few weeks ago through a work colleague who was discussing domain driven design, and I'm very impressed with what I've already seen.
  
  
One thing I wanted to do was add validation to my business logic. I found that Hibernate has a Validator class which is just what I'm looking for:
  
http://www.hibernate.org/hib_docs/validator/reference/en/html_single/
  
  
To me it looks like you can just annotate the domain model within the class (or even the interface!) with the constraints, e.g. min &amp; max text length, min &amp; max numeric value, not null, regular expression patterns, and others. It then allows validation by listening on Hibernate's PreInsertEvent and PreUpdateEvent, and also provides ability for application level validation, and presentation layer validation.
  
  
I was very excited when I found that NHibernate includes a "Child project"called NHibernate.Validator however I can't figure out how to annotate my domain model. I've looked through the NHibernate download (I'm running a C# project with .NET 2.0). I even tried looking through the "2.0.0.Alpha1-src" but couldn't figure it out. How do I annotate my properties with the Hibernate equivalent of @Length, @Max, @Min, etc?
  
  
If it's available, that would be great because it would provide a single point to annotate data constraints, then allow the web interface to display and trap data validation errors, and do a final check with NHibernate before the insert or update.
  
  
Thanks for your time and thanks again for all your great work!
  
  
Regards,
  
  
Matthew Robinson.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment28</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment28</guid><pubDate>Fri, 02 May 2008 07:06:48 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>1/ Yes
  
2/ Yes
  
3/ Hopefully, we will have to see
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment27</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment27</guid><pubDate>Sat, 19 Apr 2008 15:46:44 GMT</pubDate></item><item><title>Andrew Clancy commented on NHibernate 2.0 Alpha is out!</title><description>clarifying question 3: I assume NHG &amp; Linq both wrap/adapt Criteria. I mean will Linq 2 NH 'cover all bases' allow a dev to query without using Criteria (and HQL for that matter). 
  
  
- Andy
  
  
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment26</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment26</guid><pubDate>Sat, 19 Apr 2008 07:28:42 GMT</pubDate></item><item><title>Andrew Clancy commented on NHibernate 2.0 Alpha is out!</title><description>Oren, 
  
  
Great news. Team has just upgraded so looking forward to good things ... 
  
  
3 questions, 1 relevant but all related: 
  
  
1) Does the NHibernate Query Generator work with NHibernate 2? 
  
2) Can you use NHG interchangably with DetachedCriteria (and Criteria)? 
  
3) Will Linq to NHibernate supercede both NHG and DetachedCriteria/Criteria? 
  
  
Cheers, 
  
Andy
  
  
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment25</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment25</guid><pubDate>Sat, 19 Apr 2008 07:23:10 GMT</pubDate></item><item><title>Torkel commented on NHibernate 2.0 Alpha is out!</title><description>The new event system is really nice http://www.slickcode.net/2008/04/nhibernate-20-events-and-listeners.html
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment24</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment24</guid><pubDate>Sat, 05 Apr 2008 22:46:59 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Since I don't know what minlib is, the answer is probably no
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment23</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment23</guid><pubDate>Sat, 05 Apr 2008 21:55:17 GMT</pubDate></item><item><title>o-dawg commented on NHibernate 2.0 Alpha is out!</title><description>how about the integration of the minlib framework? is it in this release?
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment22</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment22</guid><pubDate>Sat, 05 Apr 2008 07:12:15 GMT</pubDate></item><item><title>Francisco Lozano commented on NHibernate 2.0 Alpha is out!</title><description>@Yovanny Rodríguez:
  
  
I think you should keep your WCF interface contracts (XSDs, WSDLs, DataContract's and all that stuff) separated from your persistent domain (your POCOs). The WCF interface contract could be considered in fact a public application-level protocol, that shouldn't be affected by your internal domain. Trying to pretend that the network does not exist and that you can treat the data coming from the network as if it was coming from another layer in your application is a common error that makes people expose horrible application-level network protocols (WCF contracts, WSDLs and that) that change often and show too much internal details to the world.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment21</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment21</guid><pubDate>Fri, 04 Apr 2008 00:07:11 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>You better ask in the mailing list.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment20</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment20</guid><pubDate>Wed, 02 Apr 2008 20:29:06 GMT</pubDate></item><item><title>Yovanny Rodr&amp;#237;guez commented on NHibernate 2.0 Alpha is out!</title><description>Hello Ayende,
  
  
How can I with NHibernate POCOs with WCF? I have not found a comprehensive solution for this matters. Thx
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment19</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment19</guid><pubDate>Wed, 02 Apr 2008 20:21:38 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Not at the moment, no.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment18</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment18</guid><pubDate>Wed, 02 Apr 2008 19:53:15 GMT</pubDate></item><item><title>jrnail23 commented on NHibernate 2.0 Alpha is out!</title><description>Ayende,
  
Does NHibernate.Linq support MultiQuery?  I'm guessing no, as I don't really see how to make that happen in my repositories without a direct dependency on NHIbernate, but I figured I'd ask anyway.
  
  
thanks,
  
James
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment17</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment17</guid><pubDate>Wed, 02 Apr 2008 18:40:24 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Paul,
  
It is compatible on the trunk
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment16</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment16</guid><pubDate>Wed, 02 Apr 2008 13:36:11 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>1/ Fairly well, I would say. We have some features they don't have, and vice versa. You would have to be more specific about things.
  
2/ Wasn't done for this release, and yes, this is a problem in some scenarios
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment15</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment15</guid><pubDate>Wed, 02 Apr 2008 12:01:23 GMT</pubDate></item><item><title>Mark Traudt commented on NHibernate 2.0 Alpha is out!</title><description>Great stuff!  I do have two questions:  
  
  
1) Given all of these updates, how does NHibernate compare feature-wise to the latest version of Hibernate?
  
  
2) I seem to recall there was talk of a rewrite of the HQL parser.  Did this happen?  If I am not mistaken, there are some limitations of the current parser that were fixed in Hibernate.
  
  
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment14</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment14</guid><pubDate>Wed, 02 Apr 2008 11:58:24 GMT</pubDate></item><item><title>Paul Batum commented on NHibernate 2.0 Alpha is out!</title><description>I was wondering where Castle.ActiveRecord is in terms of support for this release. Can anyone give me the lowdown?
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment13</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment13</guid><pubDate>Tue, 01 Apr 2008 08:45:33 GMT</pubDate></item><item><title>Oran commented on NHibernate 2.0 Alpha is out!</title><description>Has the documentation been updated to cover the 2.0 features?  If so, a direct link would be helpful.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment12</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment12</guid><pubDate>Mon, 31 Mar 2008 21:33:03 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Logos - PowerPoint 2007
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment11</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment11</guid><pubDate>Mon, 31 Mar 2008 19:54:44 GMT</pubDate></item><item><title>John Morales commented on NHibernate 2.0 Alpha is out!</title><description>Cool stuff, hopefully I can play with it soon. Where are you getting these fancy logo's from? :)
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment10</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment10</guid><pubDate>Mon, 31 Mar 2008 19:09:11 GMT</pubDate></item><item><title>Tobin Harris commented on NHibernate 2.0 Alpha is out!</title><description>@Julian
  
  
I'm helping out on the "NHibernate in Action" book, and I believe it would be great to see it revised to include some NHibernate 2.0 specific stuff. I'll have a chat with Kuate and Manning and post up what the plan is.
  
  
  
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment9</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment9</guid><pubDate>Mon, 31 Mar 2008 19:00:08 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Consider this as an open invitation, then :-)
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment8</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment8</guid><pubDate>Mon, 31 Mar 2008 10:51:35 GMT</pubDate></item><item><title>Jon Skeet commented on NHibernate 2.0 Alpha is out!</title><description>I would really, really love to get involved - but there are a few things stopping me at the moment in terms of time and some professional contract concerns. However, those *may* resolve themselves in the next month or so - I'll keep bearing it in mind :)
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment7</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment7</guid><pubDate>Mon, 31 Mar 2008 10:49:21 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Linq for NHibernate is handled as a separate project at the moment, until we get enough critical mass behind it to roll it into NHibernate.
  
Help is always appreciated.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment6</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment6</guid><pubDate>Mon, 31 Mar 2008 10:37:24 GMT</pubDate></item><item><title>Jon Skeet commented on NHibernate 2.0 Alpha is out!</title><description>Where does LINQ to NHibernate fit into NHibernate 2.0, out of interest? I haven't kept track of whether it's now part of the NHibernate release, or whether it's separate. Any comments on the current state of play and the potential future position?
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment5</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment5</guid><pubDate>Mon, 31 Mar 2008 10:26:07 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Restrictions is the Hibernate term.
  
Expression is there and still works, but the documentation will refer to Restrictions.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment4</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment4</guid><pubDate>Mon, 31 Mar 2008 10:14:39 GMT</pubDate></item><item><title>Ayende Rahien commented on NHibernate 2.0 Alpha is out!</title><description>Julian,
  
To the best of my knowledge, no. But I am not sure about that
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment3</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment3</guid><pubDate>Mon, 31 Mar 2008 10:13:37 GMT</pubDate></item><item><title>Mark commented on NHibernate 2.0 Alpha is out!</title><description>Can you explain a little more on this:
  
  
Guidance: 
  
Prefer to use the Restrictions instead of the Expression class for defining Criteria queries. 
  
  
Why is Restrictions preferred and why we should switch to it ? Is Expression only included for backward compatibility ? Will it be depreciated at some point in the future ?
  
  
Thanks
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment2</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment2</guid><pubDate>Mon, 31 Mar 2008 08:21:08 GMT</pubDate></item><item><title>julian jelfs commented on NHibernate 2.0 Alpha is out!</title><description>This is great news. As a slight aside, do you happen to know how much of this new functionality is included in the NHibernate In Action book? Just wandering whether it is still a good book to buy or whether it would be better to hang out for something that covers the version 2 functionality.
</description><link>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment1</link><guid>http://ayende.com/3239/nhibernate-2-0-alpha-is-out#comment1</guid><pubDate>Mon, 31 Mar 2008 08:10:20 GMT</pubDate></item></channel></rss>