|
From: Sherman W. <sw...@ga...> - 2004-03-13 04:38:36
|
Ignoring the journal part, I think what I showed is essentially right. Did you find: http://www.babeldoc.com/development/readme/userguide.xml.html#N1186D If you set up the datasource myDbDS and then create: resource/myDb.properties ------------------------------------------------------------------ # Type is required. type=jndi datasourceName=java:myDbDS You can do: <stage-inst> <stage-name>writer</stage-name> <stage-desc>this writes stuff</stage-desc> <stage-type>SqlWriter</stage-type> <option> <option-name>resourceName</option-name> <option-value>myDb</option-value> </option> <option> <option-name>sql</option-name> <option-value>insert into document (blah, blah, blah) values ($document.get("document_id"), blah, blah)</option-value> </option> </stage-inst> Sherman |