Preapred statement token (?) not gererated for JPA Criteria API when they are Longs or Ints

Description

Preapred statement token not gererated for JPA Criteria API when they are Longs or Ints with the following code.

final Long id = Long.validOf(5L)
predicateList.add(builder.equal(secretsJoin.get(Customer_.id, id);
generates no ? in sql statement

Strings work
String name = "test"
predicateList.add(builder.equal(secretsJoin.get(Customer_.name, name);
generates no ? in sql statement

Activity

Show:

Brett Meyer March 3, 2014 at 3:40 PM

Bulk rejecting issues lacking a test case or recent response.

Brett Meyer December 19, 2013 at 10:31 PM

Note: In an attempt to clean up the HHH JIRA, we will be rejecting any ticket that sits in the "Awaiting Test Case" state for 2-3 months with no response. So, if this issue is critical to you, please attach a reproducing test case ASAP. Thanks!

Brett Meyer October 16, 2013 at 9:34 PM

Please attach a test case that we can use to reproduce this issue – thanks!

Rejected

Details

Assignee

Reporter

Components

Priority

Created September 18, 2013 at 12:16 PM
Updated March 3, 2014 at 3:40 PM
Resolved March 3, 2014 at 3:40 PM