I would like to announce that NHibernate Facility 2.0 RC is out. Here
is the change list since from beta 3:
- Updated to NHibernate 3.1.0 GA
- Updated to Core 2.5.2 and Windsor 2.5.3
- Updated to Services Tx 2.5.0 and Auto Tx 2.5.1
- NHibernate Facility Event Listeners Configuration (Facilities-99)
- XmlConfigurationBuilder for NHibernate's own configuration file
(Facilities-106)
- Lazy Session Factory Inititialization (Facilities-112)
- Facility needs a way to modify Configuration instance (Facilities-113)
- Persistent Configuration Builder (Facilities-116)
- IConfigurationBuilder for Individual factories. (Facilities-119)
- Support Stateless Session in NHibernate Facility (Facilities-142)
- Derive the filename from session factory ID or alias when not
explicitly specified. (Facilities-117)
- Derive dependant files from the <assemblies></assemblies> node
entries (common usage) when not explicitly specified.(Facilities-117)
- Fluent Configuration initial support
- Fixed: DefaultSessionManager should remove session from session
store if transaction enlistment fails (Facilities-103)
- Fixed: Transaction RespourceAdapter needs to implement IDisposable
(Facilities-129)
Cheers,
Henry Conceição
I would love if we could automate our release process in general to
include automated tagging in Git, pushing to download location and
publishing nuget packages.
Right now it's just too much manual work guys.
Krzysztof
>
> Cheers,
> Henry Conceição
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
The NHibernateFacility version 2.0 RC breaks the Query<> API of NHibernate. I can do QueryOver<> but Query<> throws a NullReferenceException.
public static IQueryable<T> Query<T>(this ISession session) { return new NhQueryable<T>(session as ISessionImplementor); }
public static IQueryable<T> Query<T>(this ISession session) { return new NhQueryable<T>(session.GetSessionImplementation()); }
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
Cheers,
Henry Conceição
Okay, I see. The problem is just that the bug isn't reproducible with NHibernate alone. How can I report a bug, that is not in NHibernate itself.
What I don't understand is, why the NHibernate Facility is breaking the correct behavior of NHibernate? Shouldn't it be working transparently?
public static IQueryable<T> Query<T>(this ISession session) { return new NhQueryable<T>(session as ISessionImplementor); }
public static IQueryable<T> Query<T>(this ISession session) { return new NhQueryable<T>(session.GetSessionImplementation()); }
Sorry, yes, I do understand why the behavior is broken by NHibernate
Facility and I've reported it as a bug http://216.121.112.228/browse/NH-262
public static IQueryable<T> Query<T>(this ISession session) { return new NhQueryable<T>(session as ISessionImplementor); }
public static IQueryable<T> Query<T>(this IStatelessSession session) {
return new NhQueryable<T>(session as ISessionImplementor); }
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
I've commented on the issue. Hopefully Fabio has the time to take a look at it. It really is a simple patch... :)
It's fixed in NH 3.2 http://216.121.112.228/browse/NH-2626
It looks like a bug in the nhfacility. Can you please open a ticket
for it? I'll take o look later this week. Btw, a test case reproducing
the issue would be pretty handy.
I thought that the Query<T>(this ISession session) belongs the
ISession and bugged cast was in the SessionDelegate.
Cheers,
Henry Conceição