[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-torque-dev
Subject: [jira] Created: (TORQUE-78) Criteria.setIgnoreCase ignores datatype
From: "Frauke Heyl (JIRA)" <jira () apache ! org>
Date: 2007-01-19 16:55:29
Message-ID: 23130608.1169225729947.JavaMail.jira () brutus
[Download RAW message or body]
Criteria.setIgnoreCase ignores datatype of column
-------------------------------------------------
Key: TORQUE-78
URL: https://issues.apache.org/jira/browse/TORQUE-78
Project: Torque
Issue Type: Bug
Components: Runtime
Affects Versions: 3.3-RC1
Environment: Windows XP, MS SQL Server
Reporter: Frauke Heyl
Priority: Minor
If I call Criteria.setIgnoreCase(true); all columns and values are wrapped with \
UPPER, no matter wich type they have. So for a datetime field I get some statement \
like: select * from TABLE_X where UPPER(X_DATE) = UPPER('20070116 00:00:00')
which does not work correctly.
I now have a workaround setting ignore case for all Criterion objects seperately, but \
still I consider it as a bug, since the type of the column is known when the ignore \
case flag is evaluated in the build function of class SQLExpression.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic