createcriteria
Grails / GORM criteria query with hasmany String
I have a domain object (Cat) like this: class Cat { String name static hasMany = [ 开发者_Python百科nicknames: String[详细]
2023-04-07 16:50 分类:问答Cannot perform unit test with function which have createCriteria() statement
I want to write a unit test (by JUnit) to test value of this function in Groovy: String getPeopleNamesById(int[] peopleIds) {[详细]
2023-02-19 07:53 分类:问答Sorting with Mathematical Formula with nHibernate (C#)
public class Feedback { public virtual int Id { get; private set; } public virtual string ContentText { get; set; }[详细]
2023-02-04 18:57 分类:问答NHibernate CreateCriteria not working correctly with association and dates
I am trying to create an association to load a list of parent objects based on a child objects date field. I only want parent objects where the date is >= a given date.[详细]
2023-01-28 17:44 分类:问答NHibernate CreateCriteria and CreateQuery generates different sql?
I\'m new to NHibernate and can\'t figure out why these two statements generates different sql. the first one only get the ClientInformation (with Information and Client being Proxies) which is what[详细]
2023-01-02 17:38 分类:问答NHibernate query CreateCriteria
Is it possible to chose what columns I 开发者_如何学Gowant in return from Session.CreateCriteria() ?[详细]
2022-12-27 02:44 分类:问答hibernate - createCriteria or createAlias?
If I want to search those students who take class \"Math\" and \"John\" is his group: shoud I use createCriteria or createAlias?[详细]
2022-12-21 22:11 分类:问答