ejbql
HibernateEntityQuery and EJBQL restrictions
I\'ve just inherited some code that uses HibernateEntityQuery and EJBQL restrictions. There\'s an \"activity\" table/entity with various fields, and the existing EJBQL restrictions look like:[详细]
2023-04-07 11:54 分类:问答JPQL: determine sub class type from super class join?
My question is very similar to this one: How can I write a Hibernate Criteria query, for a super-class, and check for a certain sub-class?[详细]
2023-03-17 11:43 分类:问答Hibernate: Conditional query not evaluated correctly
I\'m trying to get the following query to work in Hibernate: SELECT m FROM MyEntity m WHERE m.owner = :user[详细]
2023-03-17 11:35 分类:问答How to load JPA entites via dynamic EJB-QL from standalone cache, without hitting the database
I\'ve got a JPA entity that is loaded via dynamic ejb ql queries that can be configured by the user fairly freely. In comes a new requirement: Users should be allowed to create new entities only iff t[详细]
2023-03-08 15:27 分类:问答LEFT JOIN tables with EJBQL
I am trying to join two EJB\'s using EJBQL (with an underlying MySQL data source). The two tables in question are[详细]
2023-03-05 11:09 分类:问答EJBQL/MySQL Regexes and IN
I have a list of Regexes and want to return those rows with a field which passes any reg开发者_运维知识库ex. Is there anyway to something like the following:[详细]
2023-02-01 15:02 分类:问答EJB-QL question how would I set a list as a parameter like: select o from table where id in (List<Long> listOfIds)
IN EJB-QL I am trying to create a query like this: SELECT * FROM table WHERE id IN ([id1],[id2],[id3],...);[详细]
2023-01-22 22:28 分类:问答Why isn't this EJBQL query validated by JBoss 5?
I am migrating an existing application from Weblogic server 9 to JBoss 5. My problem is with a query that has a character condition in the WHERE clause, like this one:[详细]
2023-01-10 14:34 分类:问答How to rename the fields of ejbql query in ireport?
I\'m using iReport 3.7.3 with ejbql connection. My problem is when I want to get the fields from the query, the ireport sets the name of the fields with \"COLUMN_1\", \"COLUMN_2\" even if I use the se[详细]
2023-01-08 06:12 分类:问答Using true and false in C
As far as I can see there are 3 ways to use booleans in c with the bool type, fromthen using true and false[详细]
2022-12-19 20:38 分类:问答