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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to