criteria-api
How to use key of MAP in Criteria Query?
I have a Bean like this Class TestA { Map<String,TestB> testBMap; } Class TestB { String data; ... } I want to fetchthe TestA d开发者_运维技巧ata along with the map testBMap where key =\'te[详细]
2023-02-10 21:23 分类:问答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 分类:问答Using NHibernate, how can I retrieve a list of composite-element objects given a parent's ID?
I presume this is an elementary question, but can\'t seem to find the answer. Using NHibernate, given a mapping with a one-to-many composite-element:[详细]
2023-02-07 02:13 分类:问答Hibernate Criteria Query Join with Null Value
I have a table called roles. Each role may belong to an organization. Roles that do not belong to an organization have a value of null. I want to find all the roles for a specific organization or wher[详细]
2023-02-04 22:51 分类:问答hibernate how to show the criteria queries
I think this is a simple question although I do not know how to solve it. In a spring/Hibernate application I need to show the query that a criteria execute.[详细]
2023-02-03 21:53 分类:问答How to create a subquery Projection, give it an Alias, and sort by the Alias in NHibernate with the Criteria API
forum.hibernate.org/viewtopic.php?p=2378849 one of the posters gives this answer: You need to create a Projection (...), give it an alias an开发者_如何学JAVAd you can then sort by the alias.[详细]
2023-02-03 04:09 分类:问答How to conver date type in hibernate criteria
I have a situation. I have two kinds of date in the mysql database. One is date and another is datetime. Now in hibernate criteria I have to check whether one date is greater than the other or not?[详细]
2023-01-28 12:02 分类:问答Using JPA 2.0 Criteria API and cast causes generated JPQL to fail in Hibernate
I am a first time user of the new JPA 2.0 Criteria API and I \'m running into a problem when I need to cast a number field to String to compare it with a String parameter. Reason is that I want to sea[详细]
2023-01-26 14:24 分类:问答Using Hibernate-Search for Complex Queries instead of Criteria API
In an app using Wicket+Spring+JPA/Hibernate stack, I have an Inbox/Search page which should have quite complex search capabilities, where records saved in a database are filtered using a myriad of fil[详细]
2023-01-26 06:22 分类:问答EntityManager injection - NullPointerException
In my Spring+JPA/Hibern开发者_如何学Goate+Wicket app, I have a QueryBuilder bean that I want to use in one of my DAOs which generates a typed query with the help of Criteria API:[详细]
2023-01-23 23:25 分类:问答