#538 - Reenable JDBC/MyBatis examples disabled by #514.

This commit is contained in:
Jens Schauder
2019-10-14 13:36:42 +02:00
parent acc26c46b5
commit d8ae66e5e8
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,6 @@
<properties>
<mybatis.version>1.3.1</mybatis.version>
<maven.test.skip>true</maven.test.skip>
</properties>
<dependencies>

View File

@@ -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}