[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-746?page=co...
]
Thorsten Wenzlaff commented on HHH-746:
---------------------------------------
This issue is still present for discriminators with the type String.
Since getDiscriminatorSQLValue() value is used to determine the value of the discriminator
(which adds the quotes to the discriminator value), the usage of this value in a prepared
statement will fail!
Criteria query on "class" property
----------------------------------
Key: HHH-746
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-746
Project: Hibernate3
Type: Improvement
Components: core
Environment: 3.06, Oracle
Reporter: Cuong Tran
Assignee: Joshua Davis
Priority: Minor
Time Spent: 1 hour
Remaining: 0 minutes
Currently, when using the "class" property on Criteria query, hibernate
doesn't translate the value into the underlying discriminator. See the
discussion/test case here:
http://opensource.atlassian.com/projects/hibernate/secure/CreateIssue.jspa
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira