Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gtiwari333/hibernate-groovy-tuple-constructor-must-have-at-least-one-element


https://github.com/gtiwari333/hibernate-groovy-tuple-constructor-must-have-at-least-one-element

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

### Repo for Bug https://hibernate.atlassian.net/browse/HHH-17771

CriteriaBuilder.tuple(Path ) is calling wrong method from SqmCriteriaNodeBuilder

For Groovy -> its calling org.hibernate.query.sqm.internal.SqmCriteriaNodeBuilder.tuple(org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.sqm.tree.expression.SqmExpression>...)

For Java -> its calling org.hibernate.query.sqm.internal.SqmCriteriaNodeBuilder.tuple(jakarta.persistence.criteria.Selection>[])

### How to Reproduce:

- Run the GroovySBApp
- Run http://localhost:8081/groovy to see the error from Groovy code
- Run http://localhost:8081/java to see no error generated from Java code