Hi,
I'm looking into the NHibernate Shards project and realised it doesn't
support linq - it crashes when it tries to get the session implementation.
Looking into "real" NH, the current session and stateless session both
implement AbstractSessionImpl and then return themselves on the call to
GetSessionImplementation.
The current ShardedSessionImpl doesn't inherit from AbstractSessionImpl so,
as a test, I updated the code to see what impact it would have. This then
caused me a problem in that the NHibernate AbstractSessionImpl has two
methods, with visibility that effectively stop any inheritance outside the
assembly
- public abstract FutureCriteriaBatch FutureCriteriaBatch { get;*
internal set*; }
- public abstract FutureQueryBatch FutureQueryBatch { get; *internal set*;
}
You can implement the abstract class with the internal sets, but then it
won't compile as it can't find anything to override. Take them out, it
doesn't compile as you don't implement the setters....
Am I missing something obvious or should these be changed to public or
protected - and can this be done in NH 4.0 (or any planned 3.3 branch
update)
Thanks
--
---
You received this message because you are subscribed to the Google Groups
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.