Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330562

Summary: Criteria isNull/isNotNull have empty list of expressions
Product: z_Archived Reporter: Tom Ware <tom.ware>
Component: EclipselinkAssignee: Project Inbox <eclipselink.incubator-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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