Skip to content

Commit bfd9bf6

Browse files
committed
Repackage the new style mappers
1 parent 18c3493 commit bfd9bf6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/test/java/examples/simple/SimpleTableAnnotatedMapperNewStyle.java renamed to src/test/java/examples/simple/newstyle/SimpleTableAnnotatedMapperNewStyle.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package examples.simple;
16+
package examples.simple.newstyle;
1717

1818
import static examples.simple.SimpleTableDynamicSqlSupport.*;
1919
import static org.mybatis.dynamic.sql.SqlBuilder.*;
@@ -47,6 +47,10 @@
4747
import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3SelectHelper;
4848
import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3UpdateHelper;
4949

50+
import examples.simple.LastNameTypeHandler;
51+
import examples.simple.SimpleTableRecord;
52+
import examples.simple.YesNoTypeHandler;
53+
5054
/**
5155
*
5256
* Note: this is the canonical mapper with the new style methods

src/test/java/examples/simple/SimpleTableAnnotatedNewStyleMapperTest.java renamed to src/test/java/examples/simple/newstyle/SimpleTableAnnotatedNewStyleMapperTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package examples.simple;
16+
package examples.simple.newstyle;
1717

1818
import static examples.simple.SimpleTableDynamicSqlSupport.*;
1919
import static org.assertj.core.api.Assertions.assertThat;
@@ -42,6 +42,9 @@
4242
import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3DeleteHelper;
4343
import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3SelectHelper;
4444

45+
import examples.simple.LastName;
46+
import examples.simple.SimpleTableRecord;
47+
4548
public class SimpleTableAnnotatedNewStyleMapperTest {
4649

4750
private static final String JDBC_URL = "jdbc:hsqldb:mem:aname";

0 commit comments

Comments
 (0)