criteria-api
Criteria Many-to-Many With Custom Join Table Domain
Given the following example domains: class UserRole implements Seriali开发者_Python百科zable { User user[详细]
2023-03-20 05:05 分类:问答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 分类:问答jpa criteriabuilder for @ElementCollection
What\'s the equivalent CriteriaBuilder for this simple jpl? TypedQuery<Sample> query = em.createQuery(\"from Sample s, In(s.friends) f where f = :friend\", Sample.class).setParameter(\"friend\"[详细]
2023-03-17 05:06 分类:问答Criteria api equivalent for joining child with parent
Version: Hibernate 3.3 Hi, I have 2 simple models: class Parent { Long id; //auto generated sequence and primary key[详细]
2023-03-15 18:53 分类:问答NHibernate Using SetProjection To Retrieve Individual Collection Items
I am trying to use Projections to Create a DTO from a Lead class. My DTO has, for example, a Home phone number, a mobile number and an email address, but the Lead Class has a collection of 开发者_开发[详细]
2023-03-14 17:15 分类:问答OpenJPA criteriaBuilder nested object property fetch
Is there any way in OpenJPA to get hold of a nested object property via CriteriaBuilder? Here\'s a small case.[详细]
2023-03-14 01:21 分类:问答Nhibernate With Clause Usage
I am trying to reproduce a query using the Nhibernate Criteria API and cannot work out how to add a criteria clause that allows me to compare two values from different tables.[详细]
2023-03-13 11:32 分类:问答hibernate criteria API: filtering by subset
I have a class which contains a Set of Bs. I\'d like to make an Hibernate Criteria to get all A\'s for which the set of Bs is a superset of some given set.[详细]
2023-03-10 18:59 分类:问答select statement in hibernate criteria
I want to make the below query in hibernate criteria 开发者_运维百科 SELECT * FROM ORDERS O, PRODUCT P WHERE O.ORDER_ID=P.ORDER_ID and order.orderName=\'xyz\';[详细]
2023-03-08 01:57 分类:问答How can I filter collections using NHibernate Criteria?
I understand that you can use filters in NHibernate to only load parts of child collections.I would like to be able to do this using the Criteria API, instead of HQL.Is this possible?[详细]
2023-03-02 20:13 分类:问答