Escaping : with :: in queries

Description

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.

Environment

Hibernate 3, Informix 9.4

Attachments

Assignee

Vlad Mihalcea

Reporter

Steinar Dahl

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure