有没有简单的方法来标准转换为HQL?转换为、方法来、简单、标准

2023-09-04 22:34:29 作者:佩奇小姐姐。

我已经发布了question前几天有关查询的集合与标准API和所有我看到的,我想的事情是不可能与标准答案之后,就在NHibernate的局势中的错误,并在休眠

我用的DetachedCriteria让所有审核规定在一起,名单很长。链条的最后一圈是越野车的标准,所以我需要改变我的所有的DetachedCriteria到HQL。

所以我的问题是是否有任何工具或方法,标准转换为HQL。

有没有什么办法让标准和HQL一起工作?

有关NHibernate的

谢谢你是进步

解决方案

我已经发送了一封电子邮件给 Ayende Rahien 关于这个问题,并感谢他为replying.He说,

答案是,不存在这样的工具,但转换通常pretty的容易。的

I have posted a question few days ago about Querying on collections with the Criteria API and after all the answers i see that the thing that i am trying is not possible with the Criteria, there is a bug for the situation in nhibernate and also in hibernate

MOV怎么转换成MP4格式 这个视频转换超简单办法你用过吗

I was using DetachedCriteria to get all criterias together and the list is really long. The last circle of chain is buggy criteria so i need to change all my detachedcriteria to HQL.

So my question is is there any tool or way to convert Criteria to HQL.

or

Is there any way to get Criteria and Hql work together?

An Article about the bug in nhibernate

Thanks is advance

解决方案

I have sent an email to Ayende Rahien about the issue and thank to him for replying.He said that

the answer is that there is no such tool, but conversion is usually pretty easy.