English 中文(简体)
NHibernate第2.1.2.4版的“TUL”询问有什么错误?
原标题:What is wrong with this HQL query in version 2.1.2.4 of NHibernate?
  • 时间:2010-08-04 02:19:26
  •  标签:
  • nhibernate

因此,下面的Khl格里正在扔下一名Antlr。 开放时间。 我能够与各位成员一道确定这一问题。 依条款顺序排列的最后一个领域。 如果撤职成员。 最后,从询问令中删除。 该公司在较早的版本的NHibernate中只做了罚款,但后来升级为NHibernate 2.1.2.4。 我如何包括该成员。 最后的财产没有放弃例外吗? 非常感谢任何帮助。 感谢!

select chartAssignmentLogRecord 
from ChartAssignmentLogRecord chartAssignmentLogRecord 
inner join chartAssignmentLogRecord.Measure as measure 
inner join measure.ProviderLocation as providerLocation
inner join providerLocation.Provider as provider 
inner join providerLocation.Address as address 
inner join measure.Member as member
where chartAssignmentLogRecord.AssignedDate >= :startDate  and chartAssignmentLogRecord.ChartModifiedStatus =  :modifiedStatus  and chartAssignmentLogRecord.AssignedDate =(select max(subChartAssignmentLogRecord.AssignedDate) from ChartAssignmentLogRecord subChartAssignmentLogRecord where subChartAssignmentLogRecord.Measure=chartAssignmentLogRecord.Measure) 
order by chartAssignmentLogRecord.AssignedDate desc, provider.LastName, address.AddressLine1, member.LastName
最佳回答

由于DanP,我采取了措施。 成员。 同上,而不是成员。 最后按条款顺序排列。 我知道,我知道,我的总部L本应有效,而且肯定在先前的NHibernate版本中是有效的。

问题回答

暂无回答




相关问题
nHibernate one-to-many inserts but doesnt update

Instead of getting into code, I have a simple question. Default behavior for a simple one-to-many is that it inserts the child record then updates the foreign key column with the parent key. Has ...

How Do I copy an existing nhibernate object as a new object?

I a persisted NHibernate object that I would like to repersist as a new entity. How do I get NHibernate to save this object as if it was a new? I am thinking I might create a session interceptor to ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

WPF - MVVM - NHibernate Validation

Im facing a bit of an issue when trying to validate a decimal property on domain object which is bound to a textbox on the view through the viewmodel. I am using NHibernate to decorate my property on ...

NHibernate Search in a List using ICriteria

I have my class X : public class ClassX { public virtual IList<ClassY> ListY { get; set; } ... } My ClassX mapping (using Fluent) ... HasMany<ClassX>(x => x.ListY ) ....

热门标签