]
Radosław Smogura updated HHH-5577:
----------------------------------
Attachment: hibernate-bugs.zip
Address to see if attached application will be used is
Hibernate Criteria Query uses inline values insted of prepared
statements params for some values
------------------------------------------------------------------------------------------------
Key: HHH-5577
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5577
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.6.0.CR1
Reporter: Radosław Smogura
Priority: Minor
Attachments: hibernate-bugs.zip
When I use criteria api and e.g. try to do equal against path expression and Integer
number I got query that renders to e.g where val = 1, instead of val = ?
This affects performance, because disallow to use prepared statements cache.
This behaviour occurs only for some types, e.g. dates uses prepared statements params.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: