Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-951

DataSourceResourceLoader: property datasource_url wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4, 2.4.1, 2.4.2
    • Engine
    • None

    Description

      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"));

       

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              asachs Andreas Sachs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: