criteria
Grails/GORM "in" criteria
Is it possible to do an \"in\" criteria using the GORM criteria. I\'m looking for the equivalent of the following SQL[详细]
2023-04-13 07:53 分类:问答Using database functions to transform columns in hibernate criteria
Despite 3 hours of googling and searching the API I can\'t find any reference to whether it\'s possible to use database functions within a hibernate criteria query.To be specific:[详细]
2023-04-13 07:28 分类:问答Hibernate - Collection not populating all children
I have been having a very weird issue in hibernate. We are using Grails and GORM to develop an application.[详细]
2023-04-10 11:55 分类:问答Grails criteria groupby object
Example grouping by name of the zones: def result = User.createCriteria().list{ projections { roles{ zones{[详细]
2023-04-10 11:53 分类:问答Hibernate Criteria runtime class
This is my hierarchy: // Table a class A {} // Table(\" b class B extends A {} // Table my_class class MyClass {[详细]
2023-04-08 09:27 分类:问答Hibernate criteria with projection doesn't return the entity on which criteria is implemented
I\'m using spring-hibernate and using HibernateDAOSupport class. I have two tables mapped to each other in one-to-many fashion.[详细]
2023-04-08 09:01 分类:问答Calculating rank on an aggregate column in a Hibernate SQLProjection
I am trying to write a query to calculate a rank column based upon an aggregate column. The query is an SQLProjection as part of a Hibernate Criteria query. Here is what I have tried:[详细]
2023-04-07 16:57 分类:问答Question about Criteria.createCriteria in Hibernate API
So I\'m still trying to get myself acquainted with the Hibernate Criteria API, and I have this piece of Java code which I would like to seek clarification over.[详细]
2023-04-06 21:28 分类:问答How to inner join a derived table with Hibernate/NHibernate?
(First i\'d like to apologize if this is a duplicate, I can\'t find any good solution for it even though it must be simple)[详细]
2023-04-06 19:19 分类:问答Not able to fetch property using Criteria and Projection
<id name=\"id\" type=\"java.lang.Long\"> <column name=\"MBR_ATR_ID\"/> <generator class=\"sequence\">[详细]
2023-04-05 19:07 分类:问答