New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sum().negate() fails with OpenJPA #208

Closed
Maia-Everett opened this Issue Jul 31, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@Maia-Everett

Looks like the issue is caused by an extra space between "-" and "SUM". OpenJPA complains about unrecognized tokens in "- SUM".

timowest added a commit that referenced this issue Jul 31, 2012

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Jul 31, 2012

Member

The following pattern seems to work for OpenJPA

add(Ops.NEGATE, "-1 * {0}", 7);
Member

timowest commented Jul 31, 2012

The following pattern seems to work for OpenJPA

add(Ops.NEGATE, "-1 * {0}", 7);
@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Aug 4, 2012

Member

Released in 2.7.2

Member

timowest commented Aug 4, 2012

Released in 2.7.2

@timowest timowest closed this Aug 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment