From: <leg...@at...> - 2004-11-29 23:27:17
|
The following comment has been added to this issue: Author: Christian Bauer Created: Mon, 29 Nov 2004 5:25 PM Body: Joshua: That should be no problem with the new query translator. String literals are parsed correctly by the lexer, before the first AST is even made. Both escape variations are the same from my POV. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042?page=comments#action_15000 --------------------------------------------------------------------- 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: Open Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Versions: 2.1.2 Assignee: Christian Bauer Reporter: Harel E. Created: Tue, 22 Jun 2004 8:50 PM Updated: Mon, 29 Nov 2004 5:25 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 |