Parser « HQL « JPA Q&A





1. HQL Parser    forum.hibernate.org

Hello all, Currently I'm starting to study hibernate and trying to build a generic DAO on top of it. One of the methods of this DAO is responsible for looking up objects. It gets a simple JavaBean as a parameter, based on the class of this bean, gets a HQL query from a property file, uses bean's properties as parameters for ...

2. hql - old and new parser    forum.hibernate.org

Expert Joined: Sat Jun 12, 2004 4:49 pm Posts: 915 Hello, I play with hql in hibernate3 beta1 - i try query from my post http://forum.hibernate.org/viewtopic.ph ... g+probably It work with new hql parser. This is query : select bid.item.id,bid.item.name,min(bid.created) from Bid bid" group by bid.item.id,bid.item.name New parser return this sql : select bid0_.ITEM_ID as col_0_0_, item1_.NAME as col_1_0_, min(bid0_.CREATED) as ...

3. ..hql.parser erro :(    forum.hibernate.org

4. HQL parser trouble with IF() control flow function    forum.hibernate.org

Edit: Ack, my apologies, misread your post. Not actually the same issue, although the parameters are being placed in the code, using Hibernate 3.2 and the code mentioned below. I have run into the same problem as mentioned, and attempted to work around it by creating a custom "if" function in my Dialect. The problem with this approach is that SQLFunctions ...

5. HQL Parser for dot-qualified names context-dependent ?!?    forum.hibernate.org

How just found this and wondered whether this is expected behavior or a bug. Being expected behavior this should have been at least reminded with strong red in documentation, while is somehow counterintuitiv. So imagine two tables CARD: primary key: GUID other fields: name -- string state -- string PAYMENT primary key: card(foreign key to CARD through GUID) payment_time -- timestamp ...

6. HQL parser error with 3.2.1 (OK with 3.0.5)    forum.hibernate.org

Author Message sdeghaye Post subject: HQL parser error with 3.2.1 (OK with 3.0.5) Posted: Fri Nov 24, 2006 11:47 am Newbie Joined: Fri Nov 24, 2006 11:07 am Posts: 1 Location: Geneva Switzerland Hi, I have a HQL query that used to work with 3.0.5 and now fails with 3.2.1. I've also tried with 3.2.0, 3.1.3, and 3.1 and ...

7. HQL parser/formater or transformer    forum.hibernate.org