From: <leg...@at...> - 2004-06-23 17:09:53
|
The following comment has been added to this issue: Author: Harel E. Created: Wed, 23 Jun 2004 12:27 PM Body: And the hql: select x from fmc_web.pool.Pool x left join x.containers c0 where (upper(x.name) = upper(':') and c0.id = 1) --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042?page=comments#action_13496 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-1042 Summary: Values beginning with colon treated as named parameters Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Versions: 2.1.2 Assignee: Reporter: Harel E. Created: Tue, 22 Jun 2004 8:50 PM Updated: Wed, 23 Jun 2004 12:27 PM Environment: Windows XP Pro, HSQL Description: The HQL above fails with the error "Not all named parameters have been set". This is because the ':' is interpreted as the start of a named parameter. There seems to be no way to 'escape' the colon to make Hibernate treat it like a regular character. http://forum.hibernate.org/viewtopic.php?t=932002&start=0&postdays=0&postorder=asc&highlight= --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |