From: <leg...@at...> - 2004-06-23 01:33:59
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- 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: Tue, 22 Jun 2004 8:50 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 |
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 |
From: <leg...@at...> - 2004-07-27 15:12:31
|
Message: The following issue has been re-assigned. Assignee: Gavin King (mailto:ga...@hi...) --------------------------------------------------------------------- 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: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Versions: 2.1.2 Assignee: Gavin King Reporter: Harel E. Created: Tue, 22 Jun 2004 8:50 PM Updated: Tue, 27 Jul 2004 10:36 AM 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 |
From: <leg...@at...> - 2004-07-27 16:02:38
|
The following issue has been updated: Updater: Gavin King (mailto:ga...@hi...) Date: Tue, 27 Jul 2004 11:25 AM Changes: priority changed from Major to Minor --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042?page=history --------------------------------------------------------------------- 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: Tue, 27 Jul 2004 11:25 AM 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 |
From: <leg...@at...> - 2004-07-27 16:02:38
|
Message: The following issue has been re-assigned. Assignee: Christian Bauer (mailto:chr...@hi...) --------------------------------------------------------------------- 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: Major 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: Tue, 27 Jul 2004 11:25 AM 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 |
From: <leg...@at...> - 2004-11-29 16:38:13
|
The following comment has been added to this issue: Author: Joris Verschoor Created: Mon, 29 Nov 2004 10:37 AM Body: I'm going to work on this issue, if nobody is working on this. I'd like some input on how to escape. You could do it using: \: but also a double colon: :: \: has a disadvantage, because you should type \\: :: is pretty clean, but not standard --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042?page=comments#action_14995 --------------------------------------------------------------------- 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 10:37 AM 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 |
From: <leg...@at...> - 2004-11-29 20:32:14
|
The following comment has been added to this issue: Author: Christian Bauer Created: Mon, 29 Nov 2004 2:30 PM Body: I'm pretty sure no escape is needed in our H3 parser, but I've to check. We should keep this the same, but we might be able to have both. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042?page=comments#action_14997 --------------------------------------------------------------------- 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 2:30 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 |
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 |
From: <no...@at...> - 2005-01-26 21:31:37
|
Message: The following issue has been closed. Resolver: Gavin King Date: Wed, 26 Jan 2005 3:30 PM This is fixed by new query parser in HB3. We wont fix in the old parser, since it is being end-of-lifed. Workaround is to use a parameter instead of a literal. --------------------------------------------------------------------- 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: Closed Priority: Minor Resolution: WON'T FIX 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: Wed, 26 Jan 2005 3:30 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 |
From: George D. (JIRA) <no...@at...> - 2006-05-31 21:00:21
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HB-1042?page=comments#action_23216 ] George Dawoud commented on HB-1042: ----------------------------------- Hey Gavin, Do you know what ver of Hibernate the fix is in... or how do i switch to the new parser. > Values beginning with colon treated as named parameters > ------------------------------------------------------- > > Key: HB-1042 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HB-1042 > Project: Hibernate2 > Type: Bug > Components: core > Versions: 2.1.2 > Environment: Windows XP Pro, HSQL > Reporter: Harel E. > Assignee: Christian Bauer > Priority: Minor > > > 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= -- 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 |