[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4774) Do not handle literals using parameters in JPA criteria select
Steve Ebersole (JIRA)
noreply at atlassian.com
Sat Jan 9 11:45:29 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35165#action_35165 ]
Steve Ebersole commented on HHH-4774:
-------------------------------------
In fact we may want to reconsider this 'handle criteria literals as parameters' approach completely as it has been problematic in a number of places.
> Do not handle literals using parameters in JPA criteria select
> ---------------------------------------------------------------
>
> Key: HHH-4774
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4774
> Project: Hibernate Core
> Issue Type: Bug
> Components: entity-manager, query-criteria
> Affects Versions: 3.5.0-Beta-2
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Fix For: 3.5.0-Beta-3
>
>
> THe problem is that some drivers/databases are very picky about where parameters can occur within the query; within the select clause being a a common place it is disallowed.
--
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