From 92221e0089ed5e8b12d1b5a8db568eb8ae9db4e8 Mon Sep 17 00:00:00 2001 From: GitHanter Date: Sat, 18 Jul 2020 23:41:40 +0800 Subject: [PATCH] gh-1968 Multiple ResultMap useAautoMappingCache issue --- gh-1968/README.md | 5 ++ gh-1968/over-v3.3.0-failed/pom.xml | 18 +++++ .../src/test/java/test/AnotherEntity.java | 22 ++++++ .../test/java/test/AutoMappingCacheTest.java | 70 +++++++++++++++++++ .../src/test/java/test/InnerEntity.java | 31 ++++++++ .../src/test/java/test/Mapper.java | 7 ++ .../src/test/java/test/User.java | 32 +++++++++ .../src/test/resources/log4j2.xml | 13 ++++ .../src/test/resources/test/CreateDB.sql | 36 ++++++++++ .../src/test/resources/test/Mapper.xml | 21 ++++++ .../test/resources/test/StoreProcedure.sql | 20 ++++++ .../test/resources/test/mybatis-config.xml | 25 +++++++ gh-1968/pom.xml | 37 ++++++++++ gh-1968/v3.3.0-worked/pom.xml | 18 +++++ .../src/test/java/test/AnotherEntity.java | 22 ++++++ .../test/java/test/AutoMappingCacheTest.java | 65 +++++++++++++++++ .../src/test/java/test/InnerEntity.java | 31 ++++++++ .../src/test/java/test/Mapper.java | 7 ++ .../src/test/java/test/User.java | 32 +++++++++ .../src/test/resources/log4j2.xml | 13 ++++ .../src/test/resources/test/CreateDB.sql | 36 ++++++++++ .../src/test/resources/test/Mapper.xml | 21 ++++++ .../test/resources/test/StoreProcedure.sql | 20 ++++++ .../test/resources/test/mybatis-config.xml | 25 +++++++ .../src/test/java/test/AnotherEntity.java | 4 ++ .../src/test/java/test/InnerEntity.java | 4 ++ .../test/resources/test/StoreProcedure.sql | 0 27 files changed, 635 insertions(+) create mode 100644 gh-1968/README.md create mode 100644 gh-1968/over-v3.3.0-failed/pom.xml create mode 100644 gh-1968/over-v3.3.0-failed/src/test/java/test/AnotherEntity.java create mode 100644 gh-1968/over-v3.3.0-failed/src/test/java/test/AutoMappingCacheTest.java create mode 100644 gh-1968/over-v3.3.0-failed/src/test/java/test/InnerEntity.java create mode 100644 gh-1968/over-v3.3.0-failed/src/test/java/test/Mapper.java create mode 100644 gh-1968/over-v3.3.0-failed/src/test/java/test/User.java create mode 100644 gh-1968/over-v3.3.0-failed/src/test/resources/log4j2.xml create mode 100644 gh-1968/over-v3.3.0-failed/src/test/resources/test/CreateDB.sql create mode 100644 gh-1968/over-v3.3.0-failed/src/test/resources/test/Mapper.xml create mode 100644 gh-1968/over-v3.3.0-failed/src/test/resources/test/StoreProcedure.sql create mode 100644 gh-1968/over-v3.3.0-failed/src/test/resources/test/mybatis-config.xml create mode 100644 gh-1968/pom.xml create mode 100644 gh-1968/v3.3.0-worked/pom.xml create mode 100644 gh-1968/v3.3.0-worked/src/test/java/test/AnotherEntity.java create mode 100644 gh-1968/v3.3.0-worked/src/test/java/test/AutoMappingCacheTest.java create mode 100644 gh-1968/v3.3.0-worked/src/test/java/test/InnerEntity.java create mode 100644 gh-1968/v3.3.0-worked/src/test/java/test/Mapper.java create mode 100644 gh-1968/v3.3.0-worked/src/test/java/test/User.java create mode 100644 gh-1968/v3.3.0-worked/src/test/resources/log4j2.xml create mode 100644 gh-1968/v3.3.0-worked/src/test/resources/test/CreateDB.sql create mode 100644 gh-1968/v3.3.0-worked/src/test/resources/test/Mapper.xml create mode 100644 gh-1968/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql create mode 100644 gh-1968/v3.3.0-worked/src/test/resources/test/mybatis-config.xml create mode 100644 rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/AnotherEntity.java create mode 100644 rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/InnerEntity.java create mode 100644 rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql diff --git a/gh-1968/README.md b/gh-1968/README.md new file mode 100644 index 0000000..c60e758 --- /dev/null +++ b/gh-1968/README.md @@ -0,0 +1,5 @@ +```sh +$ svn export https://github.com/harawata/mybatis-issues/trunk/gh-1968 +$ cd gh-1968 +$ mvn test +``` diff --git a/gh-1968/over-v3.3.0-failed/pom.xml b/gh-1968/over-v3.3.0-failed/pom.xml new file mode 100644 index 0000000..5094adf --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + + org.mybatis.issues + gh-1968 + 0.0.1-SNAPSHOT + + over-v3.3.0-failed + jar + + + org.mybatis + mybatis + 3.5.5 + + + diff --git a/gh-1968/over-v3.3.0-failed/src/test/java/test/AnotherEntity.java b/gh-1968/over-v3.3.0-failed/src/test/java/test/AnotherEntity.java new file mode 100644 index 0000000..505a087 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/java/test/AnotherEntity.java @@ -0,0 +1,22 @@ +package test; + +public class AnotherEntity { + private Integer id; + private String otherField; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getOtherField() { + return otherField; + } + + public void setOtherField(String otherField) { + this.otherField = otherField; + } +} diff --git a/gh-1968/over-v3.3.0-failed/src/test/java/test/AutoMappingCacheTest.java b/gh-1968/over-v3.3.0-failed/src/test/java/test/AutoMappingCacheTest.java new file mode 100644 index 0000000..a665e31 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/java/test/AutoMappingCacheTest.java @@ -0,0 +1,70 @@ +package test; + +import org.apache.ibatis.io.Resources; +import org.apache.ibatis.jdbc.ScriptRunner; +import org.apache.ibatis.session.SqlSession; +import org.apache.ibatis.session.SqlSessionFactory; +import org.apache.ibatis.session.SqlSessionFactoryBuilder; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.Reader; +import java.sql.Connection; +import java.util.List; + +/** + * All code is same as module 'v3.3.0-worked' + * Except mybatis version on maven pom is '3.5.5' + * (Actually any version above 3.3.0 will make the this test fail) + */ +public class AutoMappingCacheTest { + + private static SqlSessionFactory sqlSessionFactory; + + @BeforeClass + public static void setUp() throws Exception { + // create an SqlSessionFactory + try (Reader reader = Resources.getResourceAsReader("test/mybatis-config.xml")) { + sqlSessionFactory = new SqlSessionFactoryBuilder().build(reader); + } + // prepare in-memory database + try (SqlSession session = sqlSessionFactory.openSession(); + Connection conn = session.getConnection(); + Reader reader = Resources.getResourceAsReader("test/CreateDB.sql"); + Reader spReader = Resources.getResourceAsReader("test/StoreProcedure.sql")) { + ScriptRunner runner = new ScriptRunner(conn); + runner.setLogWriter(null); + runner.runScript(reader); + + ScriptRunner spRunner = new ScriptRunner(conn); + spRunner.setLogWriter(null); + spRunner.setSendFullScript(true); + spRunner.runScript(spReader); + } + } + + @Test + @SuppressWarnings("unchecked") + public void shouldGetMultipleResult() { + try (SqlSession sqlSession = sqlSessionFactory.openSession()) { + Mapper mapper = sqlSession.getMapper(Mapper.class); + List> results = mapper.getMultipleResultSet(); + List anotherEntities = (List) results.get(0); + List userWithInner = (List) results.get(1); + List userWithoutInner = (List) results.get(2); + + Assert.assertEquals(2, anotherEntities.size()); + Assert.assertEquals(4, userWithInner.size()); + Assert.assertEquals(2, userWithoutInner.size()); + userWithInner.forEach(user -> { + Assert.assertNotNull(user.getInnerEntity()); + Assert.assertNotNull(user.getInnerEntity().getComplexCalculated()); + }); + userWithoutInner.forEach(user -> { + Assert.assertNull(user.getInnerEntity()); + }); + } + } + +} diff --git a/gh-1968/over-v3.3.0-failed/src/test/java/test/InnerEntity.java b/gh-1968/over-v3.3.0-failed/src/test/java/test/InnerEntity.java new file mode 100644 index 0000000..ecd28b5 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/java/test/InnerEntity.java @@ -0,0 +1,31 @@ +package test; + +public class InnerEntity { + private Integer id; + private Integer complexCalculated; + private User user; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getComplexCalculated() { + return complexCalculated; + } + + public void setComplexCalculated(Integer complexCalculated) { + this.complexCalculated = complexCalculated; + } + + public User getUser() { + return user; + } + + public void setUser(User user) { + this.user = user; + } +} diff --git a/gh-1968/over-v3.3.0-failed/src/test/java/test/Mapper.java b/gh-1968/over-v3.3.0-failed/src/test/java/test/Mapper.java new file mode 100644 index 0000000..1eb9f02 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/java/test/Mapper.java @@ -0,0 +1,7 @@ +package test; + +import java.util.List; + +public interface Mapper { + List> getMultipleResultSet(); +} diff --git a/gh-1968/over-v3.3.0-failed/src/test/java/test/User.java b/gh-1968/over-v3.3.0-failed/src/test/java/test/User.java new file mode 100644 index 0000000..8c48695 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/java/test/User.java @@ -0,0 +1,32 @@ +package test; + +public class User { + private Integer id; + private String name; + + private InnerEntity innerEntity; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public InnerEntity getInnerEntity() { + return innerEntity; + } + + public void setInnerEntity(InnerEntity innerEntity) { + this.innerEntity = innerEntity; + } +} diff --git a/gh-1968/over-v3.3.0-failed/src/test/resources/log4j2.xml b/gh-1968/over-v3.3.0-failed/src/test/resources/log4j2.xml new file mode 100644 index 0000000..f07f967 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/resources/log4j2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/gh-1968/over-v3.3.0-failed/src/test/resources/test/CreateDB.sql b/gh-1968/over-v3.3.0-failed/src/test/resources/test/CreateDB.sql new file mode 100644 index 0000000..12878c3 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/resources/test/CreateDB.sql @@ -0,0 +1,36 @@ +drop table users if exists; +drop table inner_entity if exists ; +drop table another_entity if exists ; +create table users ( + id int, + name varchar(20) +); + +create table inner_entity +( + id int, + user_id int, + complexCalculated int +); + +create table another_entity +( + id int, + otherField varchar(20) +); + +insert into users (id, name) values +(1, 'PatternOne'), +(2, 'PatternOne'), +(3, 'PatternTwo'), +(4, 'PatternTwo'); + +insert into inner_entity (id, user_id, complexCalculated) values +(1, 1, 111), +(2, 1, 1111), +(3, 2, 222), +(4, 2, 2222); + +insert into another_entity (id, otherField) values +(1, 'EntityOne'), +(2, 'EntityTwo'); \ No newline at end of file diff --git a/gh-1968/over-v3.3.0-failed/src/test/resources/test/Mapper.xml b/gh-1968/over-v3.3.0-failed/src/test/resources/test/Mapper.xml new file mode 100644 index 0000000..b7bfeb6 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/resources/test/Mapper.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + diff --git a/gh-1968/over-v3.3.0-failed/src/test/resources/test/StoreProcedure.sql b/gh-1968/over-v3.3.0-failed/src/test/resources/test/StoreProcedure.sql new file mode 100644 index 0000000..15cc48a --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/resources/test/StoreProcedure.sql @@ -0,0 +1,20 @@ +CREATE PROCEDURE get_multi_resultSets() +READS SQL DATA DYNAMIC RESULT SETS 3 +BEGIN ATOMIC + DECLARE result1 CURSOR WITH RETURN FOR + SELECT id, otherField FROM another_entity FOR READ ONLY; + + DECLARE result2 CURSOR WITH RETURN FOR + SELECT u.id,name, + ie.id as "innerEntity.id", + ie.user_id as "innerEntity.user.id", + ie.complexCalculated AS "innerEntity.complexCalculated" + FROM users u inner join inner_entity ie on u.id = ie.user_id + WHERE name='PatternOne' FOR READ ONLY; + + DECLARE result3 CURSOR WITH RETURN FOR + SELECT * FROM users + WHERE name = 'PatternTwo' FOR READ ONLY; + + OPEN result1; OPEN result2; OPEN result3; +END; \ No newline at end of file diff --git a/gh-1968/over-v3.3.0-failed/src/test/resources/test/mybatis-config.xml b/gh-1968/over-v3.3.0-failed/src/test/resources/test/mybatis-config.xml new file mode 100644 index 0000000..6a677d3 --- /dev/null +++ b/gh-1968/over-v3.3.0-failed/src/test/resources/test/mybatis-config.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gh-1968/pom.xml b/gh-1968/pom.xml new file mode 100644 index 0000000..5651193 --- /dev/null +++ b/gh-1968/pom.xml @@ -0,0 +1,37 @@ + + 4.0.0 + org.mybatis.issues + gh-1968 + pom + 0.0.1-SNAPSHOT + + UTF-8 + UTF-8 + 1.8 + 1.8 + + + v3.3.0-worked + over-v3.3.0-failed + + + + org.apache.logging.log4j + log4j-core + 2.13.3 + + + junit + junit + 4.13 + test + + + org.hsqldb + hsqldb + 2.5.1 + test + + + diff --git a/gh-1968/v3.3.0-worked/pom.xml b/gh-1968/v3.3.0-worked/pom.xml new file mode 100644 index 0000000..83cbd2a --- /dev/null +++ b/gh-1968/v3.3.0-worked/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + + org.mybatis.issues + gh-1968 + 0.0.1-SNAPSHOT + + v3.3.0-worked + jar + + + org.mybatis + mybatis + 3.3.0 + + + diff --git a/gh-1968/v3.3.0-worked/src/test/java/test/AnotherEntity.java b/gh-1968/v3.3.0-worked/src/test/java/test/AnotherEntity.java new file mode 100644 index 0000000..505a087 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/java/test/AnotherEntity.java @@ -0,0 +1,22 @@ +package test; + +public class AnotherEntity { + private Integer id; + private String otherField; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getOtherField() { + return otherField; + } + + public void setOtherField(String otherField) { + this.otherField = otherField; + } +} diff --git a/gh-1968/v3.3.0-worked/src/test/java/test/AutoMappingCacheTest.java b/gh-1968/v3.3.0-worked/src/test/java/test/AutoMappingCacheTest.java new file mode 100644 index 0000000..97fd87e --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/java/test/AutoMappingCacheTest.java @@ -0,0 +1,65 @@ +package test; + +import org.apache.ibatis.io.Resources; +import org.apache.ibatis.jdbc.ScriptRunner; +import org.apache.ibatis.session.SqlSession; +import org.apache.ibatis.session.SqlSessionFactory; +import org.apache.ibatis.session.SqlSessionFactoryBuilder; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.Reader; +import java.sql.Connection; +import java.util.List; + +public class AutoMappingCacheTest { + + private static SqlSessionFactory sqlSessionFactory; + + @BeforeClass + public static void setUp() throws Exception { + // create an SqlSessionFactory + try (Reader reader = Resources.getResourceAsReader("test/mybatis-config.xml")) { + sqlSessionFactory = new SqlSessionFactoryBuilder().build(reader); + } + // prepare in-memory database + try (SqlSession session = sqlSessionFactory.openSession(); + Connection conn = session.getConnection(); + Reader reader = Resources.getResourceAsReader("test/CreateDB.sql"); + Reader spReader = Resources.getResourceAsReader("test/StoreProcedure.sql")) { + ScriptRunner runner = new ScriptRunner(conn); + runner.setLogWriter(null); + runner.runScript(reader); + + ScriptRunner spRunner = new ScriptRunner(conn); + spRunner.setLogWriter(null); + spRunner.setSendFullScript(true); + spRunner.runScript(spReader); + } + } + + @Test + @SuppressWarnings("unchecked") + public void shouldGetMultipleResult() { + try (SqlSession sqlSession = sqlSessionFactory.openSession()) { + Mapper mapper = sqlSession.getMapper(Mapper.class); + List> results = mapper.getMultipleResultSet(); + List anotherEntities = (List) results.get(0); + List userWithInner = (List) results.get(1); + List userWithoutInner = (List) results.get(2); + + Assert.assertEquals(2, anotherEntities.size()); + Assert.assertEquals(4, userWithInner.size()); + Assert.assertEquals(2, userWithoutInner.size()); + userWithInner.forEach(user -> { + Assert.assertNotNull(user.getInnerEntity()); + Assert.assertNotNull(user.getInnerEntity().getComplexCalculated()); + }); + userWithoutInner.forEach(user -> { + Assert.assertNull(user.getInnerEntity()); + }); + } + } + +} diff --git a/gh-1968/v3.3.0-worked/src/test/java/test/InnerEntity.java b/gh-1968/v3.3.0-worked/src/test/java/test/InnerEntity.java new file mode 100644 index 0000000..ecd28b5 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/java/test/InnerEntity.java @@ -0,0 +1,31 @@ +package test; + +public class InnerEntity { + private Integer id; + private Integer complexCalculated; + private User user; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getComplexCalculated() { + return complexCalculated; + } + + public void setComplexCalculated(Integer complexCalculated) { + this.complexCalculated = complexCalculated; + } + + public User getUser() { + return user; + } + + public void setUser(User user) { + this.user = user; + } +} diff --git a/gh-1968/v3.3.0-worked/src/test/java/test/Mapper.java b/gh-1968/v3.3.0-worked/src/test/java/test/Mapper.java new file mode 100644 index 0000000..1eb9f02 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/java/test/Mapper.java @@ -0,0 +1,7 @@ +package test; + +import java.util.List; + +public interface Mapper { + List> getMultipleResultSet(); +} diff --git a/gh-1968/v3.3.0-worked/src/test/java/test/User.java b/gh-1968/v3.3.0-worked/src/test/java/test/User.java new file mode 100644 index 0000000..8c48695 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/java/test/User.java @@ -0,0 +1,32 @@ +package test; + +public class User { + private Integer id; + private String name; + + private InnerEntity innerEntity; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public InnerEntity getInnerEntity() { + return innerEntity; + } + + public void setInnerEntity(InnerEntity innerEntity) { + this.innerEntity = innerEntity; + } +} diff --git a/gh-1968/v3.3.0-worked/src/test/resources/log4j2.xml b/gh-1968/v3.3.0-worked/src/test/resources/log4j2.xml new file mode 100644 index 0000000..f07f967 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/resources/log4j2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/gh-1968/v3.3.0-worked/src/test/resources/test/CreateDB.sql b/gh-1968/v3.3.0-worked/src/test/resources/test/CreateDB.sql new file mode 100644 index 0000000..12878c3 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/resources/test/CreateDB.sql @@ -0,0 +1,36 @@ +drop table users if exists; +drop table inner_entity if exists ; +drop table another_entity if exists ; +create table users ( + id int, + name varchar(20) +); + +create table inner_entity +( + id int, + user_id int, + complexCalculated int +); + +create table another_entity +( + id int, + otherField varchar(20) +); + +insert into users (id, name) values +(1, 'PatternOne'), +(2, 'PatternOne'), +(3, 'PatternTwo'), +(4, 'PatternTwo'); + +insert into inner_entity (id, user_id, complexCalculated) values +(1, 1, 111), +(2, 1, 1111), +(3, 2, 222), +(4, 2, 2222); + +insert into another_entity (id, otherField) values +(1, 'EntityOne'), +(2, 'EntityTwo'); \ No newline at end of file diff --git a/gh-1968/v3.3.0-worked/src/test/resources/test/Mapper.xml b/gh-1968/v3.3.0-worked/src/test/resources/test/Mapper.xml new file mode 100644 index 0000000..b7bfeb6 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/resources/test/Mapper.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + diff --git a/gh-1968/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql b/gh-1968/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql new file mode 100644 index 0000000..15cc48a --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql @@ -0,0 +1,20 @@ +CREATE PROCEDURE get_multi_resultSets() +READS SQL DATA DYNAMIC RESULT SETS 3 +BEGIN ATOMIC + DECLARE result1 CURSOR WITH RETURN FOR + SELECT id, otherField FROM another_entity FOR READ ONLY; + + DECLARE result2 CURSOR WITH RETURN FOR + SELECT u.id,name, + ie.id as "innerEntity.id", + ie.user_id as "innerEntity.user.id", + ie.complexCalculated AS "innerEntity.complexCalculated" + FROM users u inner join inner_entity ie on u.id = ie.user_id + WHERE name='PatternOne' FOR READ ONLY; + + DECLARE result3 CURSOR WITH RETURN FOR + SELECT * FROM users + WHERE name = 'PatternTwo' FOR READ ONLY; + + OPEN result1; OPEN result2; OPEN result3; +END; \ No newline at end of file diff --git a/gh-1968/v3.3.0-worked/src/test/resources/test/mybatis-config.xml b/gh-1968/v3.3.0-worked/src/test/resources/test/mybatis-config.xml new file mode 100644 index 0000000..6a677d3 --- /dev/null +++ b/gh-1968/v3.3.0-worked/src/test/resources/test/mybatis-config.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/AnotherEntity.java b/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/AnotherEntity.java new file mode 100644 index 0000000..8ae67b9 --- /dev/null +++ b/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/AnotherEntity.java @@ -0,0 +1,4 @@ +package test; + +public class AnotherEntity { +} diff --git a/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/InnerEntity.java b/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/InnerEntity.java new file mode 100644 index 0000000..75f38fc --- /dev/null +++ b/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/java/test/InnerEntity.java @@ -0,0 +1,4 @@ +package test; + +public class InnerEntity { +} diff --git a/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql b/rsethandler-mulrmap-autocache/v3.3.0-worked/src/test/resources/test/StoreProcedure.sql new file mode 100644 index 0000000..e69de29