cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8737] New: - esql.xsl: getUrl() for datatypes OTHER
Date Thu, 02 May 2002 12:09:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8737>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8737

esql.xsl: getUrl() for datatypes OTHER

           Summary: esql.xsl: getUrl() for datatypes OTHER
           Product: Cocoon 2
           Version: 2.0.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: michael.enke@wincor-nixdorf.com


Hi Christian,
on my comment about postgres getObject() you added this lines to esql.xsl:
 // postgres is broken as it doesn't allow getObject()
 // to retrieve any type (i.e. bit and bit varying)
 // so don't handle complex types different for postgres
 if (!_esql_connection.getUrl().startsWith("jdbc:postgresql:")) {
 
this._esql_printObject(_esql_query.getResultSet().getObject(_esql_i),xspAttr); 
break;
 }
 
Unfortunately getUrl() returns null:
The value of url from EsqlConnection is initialized by setUrl(),
but setUrl() will !not! be called if <esql:pool>...</esql:pool> is used.
 
I send a patch for this.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message