dao_globalmap.xml 1.8 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <sqls>
  3. <resultMap id="db2">
  4. <result type="SMALLINT" reader="kr.co.hit.live.dao.reader.IntColumnReader"/>
  5. <result type="DATE" reader="kr.co.hit.live.dao.reader.FormattedDateColumnReader" format="yyyyMMdd"/>
  6. <result type="TIME" reader="kr.co.hit.live.dao.reader.FormattedTimeColumnReader" format="HHmmss"/>
  7. <result type="TIMESTAMP" reader="kr.co.hit.live.dao.reader.FormattedTimeStampColumnReader" format="yyyyMMddHHmmssSSS"/>
  8. </resultMap>
  9. <statement id="db2.advice.pre.nowait">set current lock timeout 0</statement>
  10. <statement id="db2.advice.post.nowait">set current lock timeout null</statement>
  11. <statement id="db2.advice.pre.wait">set current lock timeout null</statement>
  12. <resultMap id="oracle">
  13. <result type="SMALLINT" reader="kr.co.hit.live.dao.reader.IntColumnReader"/>
  14. <result type="DATE" reader="kr.co.hit.live.dao.reader.FormattedDateColumnReader" format="yyyyMMdd"/>
  15. <result type="TIME" reader="kr.co.hit.live.dao.reader.FormattedTimeColumnReader" format="HHmmss"/>
  16. <result type="TIMESTAMP" reader="kr.co.hit.live.dao.reader.FormattedTimeStampColumnReader" format="yyyyMMddHHmmssSSS"/>
  17. </resultMap>
  18. <resultMap id="sybase">
  19. <result type="SMALLINT" reader="kr.co.hit.live.dao.reader.IntColumnReader"/>
  20. <result type="DATE" reader="kr.co.hit.live.dao.reader.FormattedDateColumnReader" format="yyyyMMdd"/>
  21. <result type="TIME" reader="kr.co.hit.live.dao.reader.FormattedTimeColumnReader" format="HHmmss"/>
  22. <result type="TIMESTAMP" reader="kr.co.hit.live.dao.reader.FormattedTimeStampColumnReader" format="yyyyMMddHHmmssSSS"/>
  23. <result type="VARCHAR" reader="kr.co.hit.live.dao.reader.ISOStringColumnReader"/>
  24. </resultMap>
  25. </sqls>