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 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!--
33
4- Copyright 2012-2019 the original author or authors.
4+ Copyright 2012-2020 the original author or authors.
55
66 Licensed under the Apache License, Version 2.0 (the "License");
77 you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2018 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1818import java .util .ArrayList ;
1919import java .util .List ;
2020import java .util .Map ;
21+
2122import org .apache .ibatis .mapping .ParameterMapping ;
2223import org .apache .ibatis .session .Configuration ;
2324
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2018 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1919import java .io .StringWriter ;
2020import java .io .Writer ;
2121import java .util .Iterator ;
22+
2223import org .apache .velocity .context .ChainedInternalContextAdapter ;
2324import org .apache .velocity .context .InternalContextAdapter ;
2425import org .apache .velocity .exception .TemplateInitException ;
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2018 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1717
1818import java .util .HashMap ;
1919import java .util .Map ;
20+
2021import org .apache .ibatis .mapping .BoundSql ;
2122import org .apache .ibatis .mapping .ParameterMapping ;
2223import org .apache .ibatis .mapping .SqlSource ;
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2017 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1717
1818import java .io .IOException ;
1919import java .io .StringWriter ;
20+
2021import org .apache .velocity .context .InternalContextAdapter ;
2122import org .apache .velocity .runtime .parser .node .ASTBlock ;
2223import org .apache .velocity .runtime .parser .node .Node ;
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2018 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1919import java .io .StringWriter ;
2020import java .io .Writer ;
2121import java .util .Locale ;
22+
2223import org .apache .velocity .context .InternalContextAdapter ;
2324import org .apache .velocity .runtime .directive .Directive ;
2425import org .apache .velocity .runtime .parser .node .ASTBlock ;
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2017 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1717
1818import java .io .IOException ;
1919import java .io .StringWriter ;
20+
2021import org .apache .velocity .context .InternalContextAdapter ;
2122import org .apache .velocity .runtime .parser .node .ASTBlock ;
2223import org .apache .velocity .runtime .parser .node .Node ;
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!--
33
4- Copyright 2012-2019 the original author or authors.
4+ Copyright 2012-2020 the original author or authors.
55
66 Licensed under the Apache License, Version 2.0 (the "License");
77 you may not use this file except in compliance with the License.
@@ -300,7 +300,7 @@ FROM City
300300 <subsection name =" in" >
301301 <h5 >#in( collection var field ) body #end</h5 >
302302 <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.
304304 It also supports iterative parameter bindings via @{...} syntax.
305305 </p >
306306 <table >
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2019 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 */
1616package org .mybatis .scripting .velocity ;
1717
18+ import static org .junit .jupiter .api .Assertions .assertEquals ;
19+
1820import java .io .StringWriter ;
1921import java .util .Properties ;
22+
2023import org .apache .velocity .VelocityContext ;
2124import org .apache .velocity .app .VelocityEngine ;
22- import static org .junit .jupiter .api .Assertions .assertEquals ;
23-
2425import org .apache .velocity .runtime .RuntimeConstants ;
2526import org .junit .jupiter .api .BeforeAll ;
2627import org .junit .jupiter .api .Test ;
Original file line number Diff line number Diff line change 11/**
2- * Copyright 2012-2019 the original author or authors.
2+ * Copyright 2012-2020 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1515 */
1616package org .mybatis .scripting .velocity ;
1717
18+ import static org .junit .jupiter .api .Assertions .assertEquals ;
19+
1820import java .io .StringWriter ;
1921import java .util .Properties ;
22+
2023import org .apache .velocity .VelocityContext ;
2124import org .apache .velocity .app .VelocityEngine ;
22- import static org .junit .jupiter .api .Assertions .assertEquals ;
23-
2425import org .apache .velocity .runtime .RuntimeConstants ;
2526import org .junit .jupiter .api .BeforeAll ;
2627import org .junit .jupiter .api .Test ;
You can’t perform that action at this time.
0 commit comments