criteria-api
JPA Criteria API: How to select property in nested collection
I have a class Customer and CustomerDependant entities. Customer has many to many bi-directional relationship with its dependents. I need to find customers filtering by name and dependent name.[详细]
2023-02-24 06:52 分类:问答JPA: Invalid-Key Error when using the Criteria API
I always get the same error when using the criteria API: Local Exception Stack: Exception [EclipseLink-6075] (Eclipse Persistence Services - 2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions[详细]
2023-02-22 02:31 分类:问答Does Fluent Nhibernate Lazy loads IList from Criteria
I want to make a kind of \"news feed\" in the application of my company. In the scenario, User actions will generate \"Activity\" of different kinds, and other users will see in their \"news feed\".[详细]
2023-02-21 07:57 分类:问答JPA 2 one-to-one fetch=FetchType.EAGER not working
In my UserTbl entity, I have this @OneToOne( cascade = CascadeType.REMOVE, mappedBy = \"user\", fetch=FetchType.EAGER )[详细]
2023-02-21 01:07 分类:问答CriteriaAPI - GroupBy - Not Generated
I\'m tearing my hair out over something that may very well be very simple, but I just cant get it right.[详细]
2023-02-20 16:39 分类:问答Criteria API and left join on a dictionary/map
I have the following classes: public class Item { public int Id { get; set; } public IDictionary<int, ItemLocal> { get; protected set; }[详细]
2023-02-20 14:28 分类:问答How do I count the number of rows returned by subquery?
I want to do something like this: 开发者_高级运维select count(*) from (select ...) (As it would be in SQL), but in JPA.[详细]
2023-02-20 03:09 分类:问答Criteria query filter by object type
I\'m using jpa criteria query. Is it possible to filter an entity by the type of some of it\'s atributes?[详细]
2023-02-18 06:48 分类:问答Using restriction of Criteria API in hibernate for Date
The situation is like this. The format of the date in SQL server is different from oracle. In SQL server it is stored as TimeStamp. How doe开发者_运维问答s Restriction.eq , Restriction.lt, Restriction[详细]
2023-02-16 20:07 分类:问答How to use Hibernate Criteria for joining two tables with OneToMany relation
I have two tables for which I can\'t implement mapping @OneToMany in their entities unless I have a circle dependency. I want to create a Hibernate Criteria so that I\'d be able to join this tables on[详细]
2023-02-16 19:13 分类:问答