criteria
JPA/Criteria - Select (or multiselect) on SetAttribute
I am getting really frustrated trying to use JPA criterias (I am using Hibernate implementation).. I want to make a query where the select is on a Set of objects, but I can\'t make it work..[详细]
2023-03-08 14:02 分类:问答nHibernate method using Criteria for selecting parents for which strings in their child collection contain a certain searchterm
I need to do a search on company address - if a company has a certain string in one of it\'s addreses it must appear in the search results ( something like regex \'%string%\' ).[详细]
2023-03-08 11:23 分类:问答NHibernate problem choosing between CreateSql and CreateCriteria
I have a very silly开发者_开发百科 doubt in NHibernate. There are two or three entities of which two are related and one is not related to other two entities. I have to fetch some selected columns fro[详细]
2023-03-08 07:29 分类:问答Hibernate Criteria API - Filtering collection property
I have such entity: @Entity public class Album { private Integer id; private Integer ownerId; private String name;[详细]
2023-03-08 07:06 分类:问答NHibernate Criteria query to select the most recent item per type
I need to find the 开发者_如何学运维most recent report submitted by members of staff, using an NHibernate criteria query. I\'m sure that I need to use projections, but I can\'t work out how to set it[详细]
2023-03-08 02:43 分类:问答Join two tables in Hibernate with Criteria API and Annotation
I want to join 2 tables in MySQL with Hibernate Annotations and Criteria Like for example: I have 2 tables,candidates and jobs, having 2 columns each:[详细]
2023-03-07 18:06 分类:问答Do you like the Criteria api of JPA 2.0? Do you use it with framework? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-03 21:55 分类:问答how could this work with eclipse, but not in an actual phone?
LocationManager locationManager; String context = Context.LOCATION_SERVICE; locationManager = (LocationManager)getSystemService(context);[详细]
2023-03-03 17:37 分类:问答Hibernate Criteria, Select order according to newest events
I have classes in hibernate like this: @Entity class Order{ private MyPattern pat; @Id privateint id; @OneToMany(cascade = CascadeType.ALL)[详细]
2023-03-03 11:37 分类:问答How do you add join a table using Criteria class?
I am new to using Criteria, and i am trying to join tables on my query. This is my expected query set up[详细]
2023-03-03 10:02 分类:问答