Skip to content
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

Exception in select from collection of DATETIME or DATE, using prepared statement #7574

Closed
vitalii-honchar opened this issue Jul 20, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@vitalii-honchar
Copy link
Contributor

OrientDB Version: 2.2.23

Java Version: 7 OpenJDK

OS: Ubuntu 16.04

Expected behavior

Using prepared statement for collection of DATETIME works good.

Actual behavior

When I use prepared statement for DATETIME in equals query
SELECT FROM Class WHERE date = :date all works fine, but when I use prepared statement for collection of DATETIME or DATE
SELECT FROM Class WHERE date IN :dateCollection I get exception for datetime or exception for date.

Steps to reproduce

Test for date collection and date time collection.

@vitalii-honchar vitalii-honchar changed the title Exception in select from collection of DATETIME, using prepared statement Exception in select from collection of DATETIME or DATE, using prepared statement Jul 20, 2017
@luigidellaquila
Copy link
Member

Hi @WeaxMe

I'm checking it now, thank you very much for the test case, it helps a lot

Thanks

Luigi

@luigidellaquila
Copy link
Member

Hi @WeaxMe

I just pushed a fix for this on 2.2.x branch. The fix will be released with next 2.2.25

Thanks

Luigi

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

No branches or pull requests

3 participants