File tree Expand file tree Collapse file tree
src/main/java/org/apache/cayenne/velocity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414Changes/New Features:
1515
1616CAY-2884 Upgrade gradle to 8.13
17+ CAY-2893 Update velocity-engine-core dependency
1718
1819Bug Fixes:
1920
Original file line number Diff line number Diff line change 5353 <artifactId >velocity-engine-core</artifactId >
5454 <scope >compile</scope >
5555 </dependency >
56+ <dependency >
57+ <groupId >org.apache.commons</groupId >
58+ <artifactId >commons-lang3</artifactId >
59+ <scope >compile</scope >
60+ </dependency >
5661
5762 <dependency >
5863 <groupId >org.apache.velocity.tools</groupId >
Original file line number Diff line number Diff line change 4545 <artifactId >velocity-engine-core</artifactId >
4646 <scope >compile</scope >
4747 </dependency >
48+ <dependency >
49+ <groupId >org.apache.commons</groupId >
50+ <artifactId >commons-lang3</artifactId >
51+ <scope >compile</scope >
52+ </dependency >
4853
4954 <!-- Test dependencies -->
5055 <dependency >
Original file line number Diff line number Diff line change 3333import org .apache .velocity .runtime .parser .ParseException ;
3434import org .apache .velocity .runtime .parser .node .ASTReference ;
3535import org .apache .velocity .runtime .parser .node .SimpleNode ;
36- import org .apache .velocity .runtime .visitor . BaseVisitor ;
36+ import org .apache .velocity .runtime .parser . node . StandardParserDefaultVisitor ;
3737
3838import java .io .StringReader ;
3939import java .io .StringWriter ;
5050 */
5151public class VelocitySQLTemplateProcessor implements SQLTemplateProcessor {
5252
53- private final class PositionalParamMapper extends BaseVisitor {
53+ private static final class PositionalParamMapper extends StandardParserDefaultVisitor {
5454
5555 private int i ;
5656 private List <Object > positionalParams ;
Original file line number Diff line number Diff line change 404404 <dependency >
405405 <groupId >org.apache.velocity</groupId >
406406 <artifactId >velocity-engine-core</artifactId >
407- <version >2.3</version >
407+ <version >2.4.1</version >
408+ </dependency >
409+ <!-- Need stable version for Velocity -->
410+ <dependency >
411+ <groupId >org.apache.commons</groupId >
412+ <artifactId >commons-lang3</artifactId >
413+ <version >3.18.0</version >
408414 </dependency >
409415 <dependency >
410416 <groupId >org.apache.velocity.tools</groupId >
You can’t perform that action at this time.
0 commit comments