mybatis
ビットフロートチャータイムスタンプその他の未定義のリアルバルチャーバイナリブロブnvarcharsmallint double longvarchar varbinary clob ncharinteger数値longvarbinary bolean nclobbigint 10進数nullカーソル
mybatis
<resultmap type = "java.util.map" id = "resultjcm"> <result property = "fld_number" column = "fld_number" javatype = "double" jdbctype = "numeric"/> <resultプロパティ= "fld_varchar" column = "fld_varchar =" jdbctype "/> < Property = "fld_date" column = "fld_date" javatype = "java.sql.date" jdbctype = "date"/> <resproperty = "fld_integer" column = "fld_integer" fld_integer "javatype =" int "jdbctype =" integer " javatype = "double" jdbctype = "double"/> <resultプロパティ= "fld_long" column = "fld_long" javatype = "long" jdbctype = "integer"/> <resultプロパティ= "fld_char" column = "fld_char" javatype = " column = "fld_blob" javatype = "[b" jdbctype = "blob" /> <resputプロパティ= "fld_clob" column = "fld_clob" javatype = "string" jdbctype = "clob" /> <resultプロパティ= "fld_float" column = " jdbctype = "float"/> <resultプロパティ= "fld_timestamp" column = "fld_timestamp" javatype = "java.sql.timestamp" jdbctype = "timestamp"/> </resultmap>
mybatis中javatype
JDBCタイプJava Type String varchar String longvarchar String numeric java.math.bigdecimal decimal java.math.bigdecimal bit boolean boolean boolean tinyint byte smallint smallint smallint int bigint bigint lear float float floa java.sql.timeタイムスタンプJava.sql.timestamp clob clob blob blob array基礎となる型struct struct ref ref ref ref ref ref java.net.url [color = red] [/color]の個別マッピング
MyBatis常用的jdbctype