Andreas Sachs created VELOCITY-951:
--------------------------------------

             Summary: DataSourceResourceLoader: property datasource_url wrong
                 Key: VELOCITY-951
                 URL: https://issues.apache.org/jira/browse/VELOCITY-951
             Project: Velocity
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.3
            Reporter: Andreas Sachs


According to the javadoc it's

 resource.loader.ds.{*}resource.{*}datasource_url = java:comp/env/jdbc/Velocity 
 
 resource.loader.ds.resource.table = tb_velocity_template

 

But in the implementation "resource" is missing (only for datasource_url):

dataSourceName = StringUtils.trim(configuration.getString("datasource_url"));
tableName = StringUtils.trim(configuration.getString("resource.table"));

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to