detachedcriteria
Filter contents of lazy-loaded collection with NHibernate
I have a domain model that includes something like this: public class Customer : EntityBase<Customer>, IAggregateRoot[详细]
2023-04-13 04:35 分类:问答Detached criteria on composite PK fields?
I have a table with 3 columns as primary key. Code and mapping is as follows: class for the composite key[详细]
2023-04-02 22:25 分类:问答Error when using DetachedCriteria for both Count and Findall in Castle Activerecord
Guys, I\'ve got this problem that I searched almost everywhere (maybe I don\'t know the right keyword for it.) I need your help![详细]
2023-03-21 16:24 分类:问答Call a Stored Procedure with a DetachedCriteria?
Is it possible to construct a De开发者_运维问答tachedCriteria in nHibernate which queries a stored procedure?How would I accomplish such a task?I have not done it but you can use some alternatives:[详细]
2023-03-17 18:58 分类:问答Translating to detachedCriteria
How can I translate the following query to detachedCriteria: select * from ( select a.* ,row_num开发者_运维问答ber() over (partition by hotel_id order byEXECUTION_START_DATE desc)rnk[详细]
2023-03-14 02:53 分类:问答Hibernate criteria: why no Subqueries.isNull(DetachedCriteria)?
I want to translate a script like this into criteria: SELECT ... FROM A WHERE A.some_date > (select bdate from B where ...)[详细]
2023-03-09 23:03 分类:问答Hibernate Criteria, Select order according to newest events
I have classes in hibernate like this: @Entity class Order{ private MyPattern pat; @Id privateint id; @OneToMany(cascade = CascadeType.ALL)[详细]
2023-03-03 11:37 分类:问答How to compare only the MM/dd/yyyy part of two dates with a detached criteria?
I have to dates in my query: ExpectedEnd and TerminationDate. I need to find a query that returns records whenever the ExpectedEnd is at the same day as TerminationDate.[详细]
2023-02-23 00:11 分类:问答I have expired problems with LikeExpression in hibernate(hibernate 3.5.5)
Looks like it does not work with ignorCase. The first assert returns true. Second - false. Any Ideas?[详细]
2023-02-21 02:28 分类:问答Hibernate select groupProperty , rowCount with rowCount > n?
Sorry if it is a dumb question but I\'ve stuck with this problem for a whole afternoon but cannot find a solution because I\'m not skilled with complicated SQL :[详细]
2023-02-19 23:46 分类:问答