cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: XSPSQLLibrary and jdk 1.2 or 1.3
Date Fri, 07 Jul 2000 01:14:03 GMT
> *********************************
> 
> <?xml version="1.0"?>
> 
> <?cocoon-process type="xsp"?>
> 
> <xsp:page
>   language="java"
>   xmlns:sql="http://www.apache.org/1999/SQL"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> >
> 
> <page>
> 
>  <sql:execute-query>
>   <sql:driver>ovjdbc.OvrimosDriver</sql:driver>
>   <sql:dburl>jdbc:ovrimos://63.202.207.116:3000</sql:dburl>
>   <sql:username>myuserid</sql:username>
>   <sql:password>mypassword</sql:password>
>   <sql:query>select * from orchestral</sql:query>
>   <sql:doc-element>table</sql:doc-element>
>   <sql:row-element>row</sql:row-element>
>   <sql:update-rows-attribute>result</sql:update-rows-attribute>
>   <sql:tag-case>lower</sql:tag-case>
>   <sql:null-indicator>yes</sql:null-indicator>
>   <sql:id-attribute>ID</sql:id-attribute>
>   <sql:id-attribute-column>folio</sql:id-attribute-column>
>  </sql:execute-query>
> 
> </page>
> 
> </xsp:page>

update-rows-attribute implies that the query is not going to return a
resultset. try it without it.

- donald


Mime
View raw message