@@ -18,7 +18,6 @@
|
||||
|
||||
<properties>
|
||||
<mybatis.version>1.3.1</mybatis.version>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://www.mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="example.springdata.jdbc.mybatis.LegoSetMapper">
|
||||
<select id="findAllByProperty-models" resultType="ModelMapEntry" parameterType="org.springframework.data.jdbc.mybatis.MyBatisContext">
|
||||
<select id="findAllByPath-models" resultType="ModelMapEntry" parameterType="org.springframework.data.jdbc.mybatis.MyBatisContext">
|
||||
<bind name="id" value="identifier.toMap().get('lego_set')"/>
|
||||
SELECT name, description
|
||||
FROM Model
|
||||
WHERE lego_set = #{id}
|
||||
|
||||
Reference in New Issue
Block a user