[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1237?page=c...
]
Fabrice Daugan commented on HHH-1237:
-------------------------------------
This patch is a very useful to manage MySql variables "@rowid:=0"
Considering the few impacted code, this should easy to be integrated.
Escaping : with :: in queries
-----------------------------
Key: HHH-1237
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1237
Project: Hibernate Core
Issue Type: Patch
Components: core
Affects Versions: 3.1 rc3
Environment: Hibernate 3, Informix 9.4
Reporter: Steinar Dahl
Priority: Minor
Attachments: ParameterParser.java
Original Estimate: 10m
Remaining Estimate: 10m
Since colons in queries in hibernate currenlty are non-escapable I created a patch (see
http://forum.hibernate.org/viewtopic.php?p=2275131#2275131) to make it possible to escape
the colon with itself. I needed to do this since I'm using Informix with native sql
queries where I'm joining tables from two databases together. In informix you do this
by specifiying <database-name>:<table-name> and that didn't work in
hibernate since hibernate has reserved the colon for named parameters.
--
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