Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2928

XML Parser for JDBC Cachestore configuration sets wrong value for connection url

    XMLWordPrintable

    Details

      Description

      The new configuration parser for 5.2 (JdbcCacheStoreConfigurationParser52) doesn't set the connection url. There is a cut and paste error in a switch block:

               switch (attribute) {
               case CONNECTION_URL: {
                  builder.driverClass(value);
                  break;
               }
               case DRIVER_CLASS: {
                  builder.driverClass(value);
                  break;
               }
      

      This parse error causes a connection not found error at runtime.

        Attachments

          Activity

            People

            Assignee:
            NadirX Tristan Tarrant
            Reporter:
            sarahay sarah a (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: