Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330562 - Criteria isNull/isNotNull have empty list of expressions
Summary: Criteria isNull/isNotNull have empty list of expressions
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 08:28 EST by Tom Ware CLA
Modified: 2022-06-09 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Ware CLA 2010-11-18 08:28:16 EST
criteriaBuilder.isNull(Employee_.firstName).getExpressions().isEmpty() and
criteriaBuilder.isNotNull(Employee_.firstName).getExpressions().isEmpty()

will both return true.

By the JPA specification, they shoudl not return true.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:04:06 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink