1234567891011121314151617181920 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper
- PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.example.bcryptpassworden.mapper.EmployeesMapper">
- <resultMap id="BaseResultMap" type="com.example.bcryptpassworden.domain.Employees">
- <id property="empNo" column="emp_no" jdbcType="INTEGER"/>
- <result property="birthDate" column="birth_date" jdbcType="DATE"/>
- <result property="firstName" column="first_name" jdbcType="VARCHAR"/>
- <result property="lastName" column="last_name" jdbcType="VARCHAR"/>
- <result property="gender" column="gender" jdbcType="OTHER"/>
- <result property="hireDate" column="hire_date" jdbcType="DATE"/>
- </resultMap>
- <sql id="Base_Column_List">
- emp_no,birth_date,first_name,
- last_name,gender,hire_date
- </sql>
- </mapper>
|