View Stickerサンプルファイル6
<?xml version='1.0' encoding='Shift_JIS'?>
<!--
********************************************************************
sticker sample
Condition branching.
********************************************************************
-->
<sticker version="0.1.3">
<info>Server definition</info>
<servers>
<server name="your-server" driver="driver name"
url="jdbc url" user="your name"
pass="password" autocommit="false" />
</servers>
<info>cursor definition</info>
<cursors>
<cursor name="true_cursor">
select 'TRUE' from dual
</cursor>
<cursor name="false_cursor">
select 'FALSE' from dual
</cursor>
</cursors>
<connect name="your-server">
<if name="true_cursor" value="TRUE">
<info>execute!</info>
</if>
<if name="false_cursor" value="FALSE">
<info>not execute...</info>
</if>
</connect>
<!-- exception definition -->
<exception>
<info>process failure!</info>
</exception>
</sticker>
| |