|
From: NHibernate J. <mik...@us...> - 2006-11-17 16:49:27
|
Criteria using class with discriminator
---------------------------------------
Key: NH-816
URL: http://jira.nhibernate.org/browse/NH-816
Project: NHibernate
Type: Bug
Components: Core
Versions: 1.2.0.Beta2
Reporter: Fabio Maulo
Priority: Minor
session.CreateCriteria(typeof(MaterialUnit),"mu")
.CreateAlias("mu.Material", "ma")
.Add(Expression.Property.ForName("ma.class").Eq(typeof(MaterialUnitable)))
.List();
The problem is in CriteriaQueryTranslator.GetTypedValue because the method use the DiscriminatorSQLValue istead DicriminatorValue.
I'm working on it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nhibernate.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|