Hi all
I fixed a problem with the sql direct interface. There was a problem
in handling brackets. The statement inside the brackets was
deleted because it handled like parameter.
This prohibit the use of complex queries like sub queries.
A quick and dirty solution is to avoid parameter
substitution.
I propose to replace line 334:
if ( leftParen < 0 && rightParen < 0 ) {
with
if ( (leftParen < 0 && rightParen < 0) || oql.startsWith("CALL SQL") ) {
Maybe somebody who have deeper knowledge than me can implement
parameter substitution for the sql direct interface ?
Thanx Thorsten
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev