decode « HQL « JPA Q&A

1. How to Use Decode function in HQL

2. Support for DECODE function in HQL

3. Please help - Decode example in hql

Hello, I am trying to use decode in hql, if I can get this very simple statement to work, I can get my big query to work. All I am trying to do is somthing like this to test the hql... select decode (1, 1, 'one', 'not one') as number from ResourceImpl I am using Hibernate tool with eclipse to convert ...

4. Using Decode in HQL