hql
Help with Creating Models for Views
I am trying to create a Model to pass to a gsp view.I would like to do a sub query across two tables.I have two domains, alum_profile and alum_position.alum_profile has many alum_position\'s.alum_posi[详细]
2023-03-15 01:23 分类:问答Call an HQL namedQuery from within another namedQuery?
Is it possible to call a named query from within another named query? If so please throw a quick example in your answer.[详细]
2023-03-14 15:32 分类:问答Hibernate executes TWO queries instead of ONE for complex JOIN
I\'m having trouble understanding why I cannot get Hibernate to do a somewhat complex JOIN in a single query. I hunted down all of the EAGER initialized attribtues and either JOIN FETCHED them in the[详细]
2023-03-14 13:14 分类:问答JPQL Coalesce non-scalars?
I have a table storing application configuration parameters like so: setName | key| value ----------------------------------[详细]
2023-03-14 06:49 分类:问答HQL IN Clause with Array from DB + JOIN
i have a Table where an ArrayList of prices is saved via Hibernate as a Blob. Now i will get access to that list via IN cl开发者_开发问答ause. Is this possible? All with a JOIN of two tables[详细]
2023-03-14 01:38 分类:问答Can't fetch more than 50000 records in hibernmate HQL List
I\'m using struts hibernate. I have one table which have more than 50K records, but I can\'t fetch that records in arraylist, when I try, it always fire me java heap space exception- Out of memory.[详细]
2023-03-13 14:49 分类:问答nHibernate count on unmapped entity
Using nHibern开发者_运维知识库ate 2. In our system we have a table that stores records which may point to any of the other tables in the system, as well as some additional fields. e.g.[详细]
2023-03-13 09:07 分类:问答hibernate - HQL joins on many clauses
I\'ve been reading Hibernate documentation, but I haven\'t found anything that would explain how to do the following.[详细]
2023-03-13 08:53 分类:问答Hibernate assumes arguments in HQL query where there are none
Why does Hibernate complain about the following query: public Set<Long> findImageVariantIdsWithOutOfBoundsDimension() {[详细]
2023-03-13 04:19 分类:问答Hql query optimization - return indexed id or the whole object
I have a databas table with cca. 327 000 entries. (SQL Server 2005, Hibernate 3) I have to generate a report that queries this table for 300 times. The Hql query looks like t开发者_运维技巧his:[详细]
2023-03-12 22:06 分类:问答