<< Back to previous view

[NUCCORE-456] Generic compile of JPQL "Case" expressions Created: 31/Jan/10  Updated: 26/Apr/10  Resolved: 05/Apr/10

Status: Closed
Project: DataNucleus Core
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.1.0.m2

Type: Task Priority: Major
Reporter: Andy Jefferson Assignee: Andy Jefferson
Resolution: Fixed Votes: 0

 Description Case Expressions
The following forms of case expressions are supported: general case expressions, simple case expressions, coalesce expressions, and nullif expressions.

general_case_expression |
simple_case_expression |
coalesce_expression |

CASE when_clause {when_clause}* ELSE scalar_expression END
when_clause::= WHEN conditional_expression THEN scalar_expression

CASE case_operand simple_when_clause {simple_when_clause}*
ELSE scalar_expression
case_operand::= state_field_path_expression | type_discriminator
simple_when_clause::= WHEN scalar_expression THEN scalar_expression

Comment by Andy Jefferson [ 01/Apr/10 10:42 AM ]
Required by 2.1 completion for JPA TCK
Comment by Andy Jefferson [ 05/Apr/10 11:23 AM ]
SVN trunk now handles the generic compile of JPQL CASE expressions
Generated at Tue Jan 16 18:31:10 CET 2018 using JIRA 4.0#466.