criteria
Hibernate - TypedQuery.getResultList() returns a list of the same object
Here is a more and maybe better description of the problem: I do a simple select query. The returning list contains the exact number of records/objects as if I do the same query in the DB, butthe pro[详细]
2023-02-17 11:53 分类:问答Ruby: invoking methods based on criteria
I have the following code: class Engine attr开发者_如何学编程_accessor :isRunning def initialize[详细]
2023-02-14 20:36 分类:问答Using Hibernate's Criteria and Projections to Select Multiple Distinct Columns
Using Hibernate\'s Criteria, I want to execute the equivalent of: select distinct uspscity, state from citycomplete where USPSCITY = \'HOUSTON\'[详细]
2023-02-14 16:59 分类:问答How compare only date with nhibernate and criteria
im trying to compare two dates like this ICriteria criteria = base.DataStore.TransactionScope.NHibernateSession.CreateCriteria<CcCorte>();[详细]
2023-02-13 18:23 分类:问答Counting in hibernate using Criteria without unnecessary inner joins
I am using criteria for counting number of rows. consider a class class GroupMembership{ public GroupGroup{get;set;}[详细]
2023-02-12 17:49 分类:问答reuse Criteria in Grails Controller
typically you have the following last line in a Grails generated Controller list method: [userInstanceList: User.list(params), userInstanceTotal: User.count()][详细]
2023-02-12 17:44 分类:问答Hibernate Get List<String> of a table's attribute
Hello everybody and sorry for the rather confusing question-title. I have a Hibernate Class configured using Annotations. This class has a String-attribute which contains the name of a company.[详细]
2023-02-12 11:25 分类:问答Hibernate query count on multiple tabs
I have multiple tables : vote Question Answer Each of these tables have an authorId field. I want to output this in an sql query :[详细]
2023-02-11 17:57 分类:问答criteria api--root.fectch() how to fetch a collection?
The args\' type of method fetch() can be SingularAttribut开发者_StackOverflow社区e, PluralAttribute, why not can\'t be ListAttribute ?[详细]
2023-02-10 18:59 分类:问答Joining tables using criteria and sqlProjection
I have the following function that builds a Hibernate Criteria to generate binned data: private Criteria getCustomBinResultCriteriaSQL(double binSizeX, double binSizeY, String xVar, String yVar, Stri[详细]
2023-02-10 12:24 分类:问答
加载中,请稍侯......