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

Bug 357089

Summary: javax.persistence.Parameter.getPosition() always returns null
Product: z_Archived Reporter: Stephen DiMilla <stephen.dimilla>
Component: EclipselinkAssignee: Tom Ware <tom.ware>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P2 CC: eclipselink.orm-inbox, lance.andersen, stephen.dimilla, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard: jpa21
Attachments:
Description Flags
test code
none
entity class
none
proposed fix
none
additional patch none

Description Stephen DiMilla CLA 2011-09-08 10:13:40 EDT
Build Identifier: eclipselink-2.3.0.v20110604-r9504

After creating a TypedQuery that uses positional parameters, if Parameter.getPostion() is called on that parameter a null result is returned 


Reproducible: Always

Steps to Reproduce:
1.modify the test code to reference a preexisting database table.
2. Run the test code
Comment 1 Stephen DiMilla CLA 2011-09-08 10:18:50 EDT
Created attachment 202992 [details]
test code
Comment 2 Stephen DiMilla CLA 2011-09-08 10:19:20 EDT
Created attachment 202993 [details]
entity class
Comment 3 Tom Ware CLA 2012-04-05 11:01:20 EDT
Updating target milestone.
Comment 4 Tom Ware CLA 2013-02-04 15:19:03 EST
Created attachment 226530 [details]
proposed fix
Comment 5 Tom Ware CLA 2013-02-04 15:35:23 EST
Fix for JPA 2.1 Query Parameter Bugs 357089, 366526, 366530, 366576 checked in together

Reviewed by Guy Pelletier

Added QueryTestSuite to JPA 2.1 testing

Tested with JPA LRG
Comment 6 Tom Ware CLA 2013-02-20 10:05:10 EST
Created attachment 227337 [details]
additional patch
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:06:00 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink