[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2775) true and false are not escaped in where attributes (@Where)
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Aug 9 09:40:13 EDT 2007
true and false are not escaped in where attributes (@Where)
-----------------------------------------------------------
Key: HHH-2775
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2775
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.5
Reporter: Emmanuel Bernard
Priority: Minor
I'm not sure we want to go that path but it worths a look.
"cool = true" works on MySQL (I tried with the mysql query browser.
However it doesn't work in @Where, as "true" gets wrongly prefixed with "projectpo1_."
Apprently the following are escaped from being prefixed:
- string literals, for example 'hello'
- numbers: for example 123
But these are missing:
- keywords: true, false
See ANN-647 for more info
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list