Iwao AVE!
Iwao AVE!
@kazuki43zoo , I like parameterized tests for the most part. Let's check with @hazendaz if he has any thoughts on this.
Hello @JiHongYuan , All tests pass even if I revert the change you made to `ResultMap` which means the change you applied to the test code does not reproduce the...
@JiHongYuan , Thank you for the update. I could verify the problem. Although this change avoids NPE, it does not fix the real problem. I didn't think about discriminator when...
To define `` in ``, there are basically two different ways. https://mybatis.org/mybatis-3/sqlmap-xml.html#constructor 1. Specifying `javaType` 2. Specifying `name` And when using ``, only the first method is supported, currently. We...
Constructor-mapping is not used for `DraftPost` because of the check you added. The result is correct just because constructor-auto-mapping kicks in. That is not the expected behavior.
Could you please create a completely new test case with a new simpler mapper? BlogMapper is pretty convoluted and it's difficult to understand the intent sometimes.
@JiHongYuan , Could you do the following? 1. revert the modifications to the test code 2. squash all commits into a single commit 3. force-push I want to keep the...
Hello @KimHu01 , This does not fit MyBatis design. You should use two independent selects.
Hello @junglechange , Sorry, I couldn't understand what you mean. Please provide a test case or demo project like [these](https://github.com/harawata/mybatis-issues) so that we can reproduce the problem on our end.
Your `User` class does not have a no-arg constructor. MyBatis (or anyone) cannot call a constructor that does not exist. Any of the following should resolve your problem. 1. Add...