Skip to content

Add missing TREAT, CAST and LITERAL functions#1933

Draft
jwgmeligmeyling wants to merge 1 commit into
Blazebit:mainfrom
jwgmeligmeyling:querydsl-java-date-functions
Draft

Add missing TREAT, CAST and LITERAL functions#1933
jwgmeligmeyling wants to merge 1 commit into
Blazebit:mainfrom
jwgmeligmeyling:querydsl-java-date-functions

Conversation

@jwgmeligmeyling
Copy link
Copy Markdown
Collaborator

I noticed a few more treat functions were added recently. I ended up needing them in the Querydsl integration so I decided to add them 😉

Description

Related Issue

Motivation and Context

@jwgmeligmeyling jwgmeligmeyling self-assigned this Aug 29, 2024
Comment on lines +11 to +12
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't the whole project changed to Java 8 minimally already? I thought that was the blocker for TREAT_INSTANT and others to be added to begin with?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't, the support of java.time types was doable without a hard dependency on Java 8. Version 2.0 which I'm working on currently will be based on Java 11 though, so we can get rid of some of the hacks.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then we'll let this PR sit until 2.0 as well 😄

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants