Issues
- ReadOnly without lazyInitializer.IsReadOnlySettingAvailable in TwoPhaseLoad.csNH-2696Resolved issue: NH-2696Alex Zaytsev
- Unnecessary proxy initialisation in CriteriaQueryTranslatorNH-2685Resolved issue: NH-2685
- REOPEN: Version properties which are NULL in the database cause exceptions during a delete or updateNH-2668Resolved issue: NH-2668
- Version properties which are NULL in the database cause exceptions during a delete or updateNH-2667Resolved issue: NH-2667
- Remove just added ExpressionTreeVisitor classNH-2653Resolved issue: NH-2653Patrick Earl
- SchemaMetadataUpdater does not take Dialect default propertiesNH-2652Resolved issue: NH-2652
- Linq query with Any operator creates wrong resultsNH-2649Resolved issue: NH-2649Alex Zaytsev
- Lazy Properties Causing An Exception With Castle Bytecode ProviderNH-2646Resolved issue: NH-2646
- schemaaction is not supported in joinedsubclassNH-2644Resolved issue: NH-2644
- MSSQL configuration template is still using "use_outer_join"NH-2643Resolved issue: NH-2643
- BatcherDataReaderWrapper.GetValue has a typoNH-2642Resolved issue: NH-2642
- HQL does not throw exception on unexpected trailing tokensNH-2641Resolved issue: NH-2641Patrick Earl
- HQL Having clause is ignored without preceeding group byNH-2640Resolved issue: NH-2640Patrick Earl
- Collection Is Null In Lazy ClassNH-2639Resolved issue: NH-2639
- Id Property With Private Setter Not Set With Lazy ClassesNH-2638Resolved issue: NH-2638
- MapperByCode don't Register ComponentNH-2633Resolved issue: NH-2633
- Fails to create proxy for class with method that has argument "ref of Dictionary<string, string>"NH-2628Resolved issue: NH-2628
- Cloning subcriteria loses WithClauseNH-2627Resolved issue: NH-2627
- Implement Dialect Scope for SubselectNH-2625
- Proxying fails for methods with out and ref argumentsNH-2622Resolved issue: NH-2622
- Dialect Scope for Named SQL QueryNH-2619
- Have HQL Support "Where Property = null"NH-2614Resolved issue: NH-2614
- Proxifier should not try to proxy sealed and non public methodsNH-2607Resolved issue: NH-2607
- Base Interface for ISession and IStatelessSessionNH-2589Resolved issue: NH-2589Alex Zaytsev
- NotSupportedException when using Skip/Take/First/Single/Any on GroupByNH-2566Resolved issue: NH-2566
- Consider current_timestamp semanticsNH-2561Resolved issue: NH-2561Patrick Earl
26 of 26
Bug-Scenario:
2 component-types of the same datatype in one union-subclass
lazy="true" in uni-subclass definition
proxyfactory.factory_class: NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle
NH 3.1.0GA
The "((INHibernateProxy) proxy).HibernateLazyInitializer.ReadOnly"-Property throw a exception, because
the session in the lazyInitializer is null.
Exception: "Proxy is detached (i.e, session is null). The read-only/modifiable setting is only accessible when the proxy is associated with an open session."
A similar bug was reported here: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5871
The same fix will remove this error in nhibernate.
The solution is to use "lazyInitializer.IsReadOnlySettingAvailable".
I have posted the same bug here: http://groups.google.com/group/nhusers/browse_thread/thread/d223e79b81a7be41