File tree Expand file tree Collapse file tree 12 files changed +32
-24
lines changed
main/java/org/mybatis/scripting/velocity
java/org/mybatis/scripting/velocity
resources/org/mybatis/scripting/velocity/use Expand file tree Collapse file tree 12 files changed +32
-24
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
4
- Copyright 2012-2019 the original author or authors.
4
+ Copyright 2012-2020 the original author or authors.
5
5
6
6
Licensed under the Apache License, Version 2.0 (the "License");
7
7
you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2018 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
18
18
import java .util .ArrayList ;
19
19
import java .util .List ;
20
20
import java .util .Map ;
21
+
21
22
import org .apache .ibatis .mapping .ParameterMapping ;
22
23
import org .apache .ibatis .session .Configuration ;
23
24
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2018 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
19
19
import java .io .StringWriter ;
20
20
import java .io .Writer ;
21
21
import java .util .Iterator ;
22
+
22
23
import org .apache .velocity .context .ChainedInternalContextAdapter ;
23
24
import org .apache .velocity .context .InternalContextAdapter ;
24
25
import org .apache .velocity .exception .TemplateInitException ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2018 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
17
17
18
18
import java .util .HashMap ;
19
19
import java .util .Map ;
20
+
20
21
import org .apache .ibatis .mapping .BoundSql ;
21
22
import org .apache .ibatis .mapping .ParameterMapping ;
22
23
import org .apache .ibatis .mapping .SqlSource ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2017 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
17
17
18
18
import java .io .IOException ;
19
19
import java .io .StringWriter ;
20
+
20
21
import org .apache .velocity .context .InternalContextAdapter ;
21
22
import org .apache .velocity .runtime .parser .node .ASTBlock ;
22
23
import org .apache .velocity .runtime .parser .node .Node ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2018 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
19
19
import java .io .StringWriter ;
20
20
import java .io .Writer ;
21
21
import java .util .Locale ;
22
+
22
23
import org .apache .velocity .context .InternalContextAdapter ;
23
24
import org .apache .velocity .runtime .directive .Directive ;
24
25
import org .apache .velocity .runtime .parser .node .ASTBlock ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2017 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
17
17
18
18
import java .io .IOException ;
19
19
import java .io .StringWriter ;
20
+
20
21
import org .apache .velocity .context .InternalContextAdapter ;
21
22
import org .apache .velocity .runtime .parser .node .ASTBlock ;
22
23
import org .apache .velocity .runtime .parser .node .Node ;
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
4
- Copyright 2012-2019 the original author or authors.
4
+ Copyright 2012-2020 the original author or authors.
5
5
6
6
Licensed under the Apache License, Version 2.0 (the "License");
7
7
you may not use this file except in compliance with the License.
@@ -300,7 +300,7 @@ FROM City
300
300
<subsection name =" in" >
301
301
<h5 >#in( collection var field ) body #end</h5 >
302
302
<p >
303
- Generates a SQL IN clause and breaks it into groups of 1000 items seperated by an OR clause to get around database limitations on the maximum number of items that can be handled.
303
+ Generates a SQL IN clause and breaks it into groups of 1000 items seperated by an OR clause to get around database limitations on the maximum number of items that can be handled.
304
304
It also supports iterative parameter bindings via @{...} syntax.
305
305
</p >
306
306
<table >
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2019 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
15
15
*/
16
16
package org .mybatis .scripting .velocity ;
17
17
18
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
19
+
18
20
import java .io .StringWriter ;
19
21
import java .util .Properties ;
22
+
20
23
import org .apache .velocity .VelocityContext ;
21
24
import org .apache .velocity .app .VelocityEngine ;
22
- import static org .junit .jupiter .api .Assertions .assertEquals ;
23
-
24
25
import org .apache .velocity .runtime .RuntimeConstants ;
25
26
import org .junit .jupiter .api .BeforeAll ;
26
27
import org .junit .jupiter .api .Test ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2012-2019 the original author or authors.
2
+ * Copyright 2012-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
15
15
*/
16
16
package org .mybatis .scripting .velocity ;
17
17
18
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
19
+
18
20
import java .io .StringWriter ;
19
21
import java .util .Properties ;
22
+
20
23
import org .apache .velocity .VelocityContext ;
21
24
import org .apache .velocity .app .VelocityEngine ;
22
- import static org .junit .jupiter .api .Assertions .assertEquals ;
23
-
24
25
import org .apache .velocity .runtime .RuntimeConstants ;
25
26
import org .junit .jupiter .api .BeforeAll ;
26
27
import org .junit .jupiter .api .Test ;
You can’t perform that action at this time.
0 commit comments