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:
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?
I\'m trying to get the following query to work in Hibernate: SELECT m FROM MyEntity m WHERE m.owner = :user
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
I am trying to join two EJB\'s using EJBQL (with an underlying MySQL data source). The two tables in question are
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:
IN EJB-QL I am trying to create a query like this: SELECT * FROM table WHERE id IN ([id1],[id2],[id3],...);
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:
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
As far as I can see there are 3 ways to use booleans in c with the bool type, fromthen using true and false