Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support typed literals in expressions #200
We need some kind of syntax support for some literal types in expressions. EclipseLink defines the following literal inlining syntax: https://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Querying/JPQL#Literals
Hibernate has basically the same but also defines literals for BigDecimal and BigInteger. I think we should also define the literal syntax in our grammar. Right now can't really make any use of these, but when the parser starts to analyze the expressions too, we are going to need the type.