<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="init" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF6020"
	title	= "ボタン"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<!-- history.back() で戻るボタンを表示します。	-->
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<!-- ｶﾗﾑﾁｪｯｸ -->
<og:columnCheck command="{@command}" />

<!-- カラムに対して値をセットしない場合、ColumnSetTagは不要です。 -->
<og:entry command="{@command}" />

<!-- 日付データと、funcVals が、カンマで分割されてしまう対策 -->
<og:value command="SET" key="FMT" value="'YYYYMMDD'" />

<og:transaction>
	<!-- 追加／複写／変更 --><!-- 2017/05/17 MOD -->
	<og:tableUpdate command="{@command}" queryType="JDBCTableUpdate" debug="{@debug}">
		<og:tableUpdateParam
			sqlType		= "{@sqlType}"
			table		= "EMP"
			where		= "EMPNO=[EMPNO]"
			omitNames	= "SAL1,SAL2,SAL3,SAL4"
			funcKeys	= "HIREDATE"
			funcVals	= '"TO_DATE( [HIREDATE] , {@FMT} )"'
			constObjKey = ""
		/>
	</og:tableUpdate>
</og:transaction>

<og:forward page="result.jsp" keys="command" vals="RENEW" />
<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
