On Sat, 1 Apr 2006, Jürgen Ragaller wrote:


Am Apr 1, 2006 um 13:23 schrieb Trevor Glen:

Jann Forrer wrote:
If just recently integrate a simple sql example into an existin page
using the SQLTransformer. That was quite easy to achieve. I did only add
the sql transformation into doctypes.xmap like:

map:transform type="sql" label="raw">
          <map:parameter name="dburl"
value="jdbc:mysql://mysql.host:3306/database?autoReconnect=true"/>
          <map:parameter name="username" value="name"/>
          <map:parameter name="password" value="password"/>
       </map:transform>
       <map:transform src="lenya/xslt/databases/sql2html.xsl"/>

In an content xml document i have the following entries:

   .....
   <sql:execute-query>
      <sql:query>SELECT .......</sql:query>
   </sql:execute-query>
   ...



Hi,

We work on a similar solution. In our case the sql-query string is generated at runtime (reading a parameter from a metadata field). What kind of precautions have to be taken to prevent or finetune the caching behaviour for such (dynamic) pages?


What kind of caching are you refering to? The one as proposed in the default publication or a kind of "external" cachlink like mod_cahche ....?

Jann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to