criteria
How can I write a Hibernate Criteria query, for a super-class, and check for a certain sub-class?
How can I write a Hibernate Criteria query, for a super-class, and check for a certain sub-class? Let\'s imagine we have the following classes all mapped up with Hibernate-JPA:[详细]
2023-03-17 01:28 分类:问答nhibernate join criteria help
I have a table DriverScans that joins DriverImages. I want to return all DriverScans where any DriverImage has it\'s Sent field equal to false.[详细]
2023-03-17 01:02 分类:问答Jpa QueryBuilder Multiple expressions in where clause not working
I am having an issue with creating queries with javax.persistence.criteria.CriteriaBuilder. I am using EclipseLink 2.1 and an Oracle 10g database. When building a quer开发者_StackOverflow社区y with mu[详细]
2023-03-16 21:25 分类:问答set multiple parameters in criteria
I need to set multiple parameter in a criteria. Can anybody please tell, how to achieve this in smartgwt[详细]
2023-03-15 22:50 分类:问答How to translate sql to hibernate criteria query
How do i translate this pseudo-query into a hibernat开发者_开发技巧e criteria query? Given itemID=123, item table has a foreign key reference to category table (catgeoryId), i want to return category[详细]
2023-03-15 22:40 分类:问答NHibernate and recursive query filter
I have a problem with tree structure and applying filters to the tree root. I need to create a query by using the NHibernate criteria, which will apply filter to the very root of the tree (there can b[详细]
2023-03-15 21:20 分类:问答Hibernate: UPDATE with a user-provided SQL code
I\'ve been reading the documentation, but I couldn\'t find any information about it. Is it possible to have Hibernate send user-provided SQL queries in order to UPDATE or to INSERT an object in the d[详细]
2023-03-15 14:53 分类:问答Getting access to models collection in Mongoid instead of Criteria object
Whenever I do: Person.where(...) I get a Criteria object. That\'s understandable. But开发者_JS百科 I couldn\'t find how do I get access to actual models collection? For now, I have to do this worka[详细]
2023-03-14 23:59 分类:问答Grails search mechanism
For my website, i need to do a search mechanism, in which some of the entry field would be: Country, City, Between Dates (with or without year field), Keywords, etc etc.[详细]
2023-03-14 04:28 分类:问答Hibernate mapping issue with Criteria
When I execute the following code: String sqlQuery = \"SELECT {msg.*},{cmd.*} \" + \"FROM schemaName.Messages AS msg \" +[详细]
2023-03-13 04:38 分类:问答
加载中,请稍侯......