We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f6d3b commit 2dd5732Copy full SHA for 2dd5732
src/test/java/org/mybatis/spring/SqlSessionTemplateTest.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2010-2023 the original author or authors.
+ * Copyright 2010-2024 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -94,6 +94,7 @@ void testRollback() {
94
95
@Test
96
void testExecutorType() {
97
+ // Do not close this, spring will close it
98
SqlSessionTemplate template = new SqlSessionTemplate(sqlSessionFactory, ExecutorType.BATCH);
99
assertThat(template.getExecutorType()).isEqualTo(ExecutorType.BATCH);
100
0 commit comments