This is an automated email from the ASF dual-hosted git repository.
cbrisson pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/velocity-engine.git
from 22dc54d4 Clarify template reuse in RuntimeInstance javadoc
add 3479d85b Add a statements pool to DatasourceResourceLoader to fix
thread safety
add 7d98e5ef Complete refactoring of database objects handling in
DataSourceResourceLoader
add 30cfa83d Make commons-pool2 dependency optional
add 9695b94a Throw VelocityException instead of Error
add 5d87ee8f Various code cleanup to DataSourceResourceLoader
add cd3ce494 Fix typos in comments
add 3484d89e Drop CachingDatabaseObjectsFactory class
new 6c85ffe2 Merge pull request #49 from apache/VELOCITY-965
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
velocity-engine-core/pom.xml | 7 +
.../apache/velocity/runtime/RuntimeConstants.java | 5 +
.../resource/loader/DataSourceResourceLoader.java | 287 ++++++++-------------
.../resource/loader/DatabaseObjectsFactory.java | 46 ++++
.../loader/DefaultDatabaseObjectsFactory.java | 59 +++++
.../test/sql/DataSourceResourceLoaderTestCase.java | 22 +-
6 files changed, 240 insertions(+), 186 deletions(-)
create mode 100644
velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/loader/DatabaseObjectsFactory.java
create mode 100644
velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/loader/DefaultDatabaseObjectsFactory.java