Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6478

Fix language about supported DataSources for Compact Profiles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.11.1.1
    • 10.11.1.1
    • Documentation
    • None

    Description

      Knut Anders Hatlen pointed out the following in his review of a patch for DERBY-6236:

      "One little inaccuracy in the changed text (existing problem, not introduced by the patch): It seems to imply that only the basic data sources work on Compact Profile 3. That is not the case. The ordinary data sources are supported on CP3. Only CP2 lacks the necessary classes (javax.naming.*) and need the basic data sources. (The basic data sources do work on CP3, though, so it's not a problem if applications choose to use them if they don't need the extra functionality of the ordinary data sources.)"

      This means that numerous topics in the Admin Guide, Reference Manual, and Developer's Guide probably need some fixes. For example, the topic "JDBC support for Java SE 8 Compact Profiles" in the Reference Manual should probably add something like the following at the end of the topic:

      "Users of Compact Profile 3 on the Java SE 8 platform can use either these DataSource classes or the Datasource classes for the full Java SE platform."

      As another example, the topic "Network client security" in the Admin Guide should probably be changed to something like this:

      "Derby provides two ClientDataSource implementations. Use the org.apache.derby.jdbc.ClientDataSource class on all supported Java SE versions except Java SE 8 Compact Profiles 1 and 2. On Java SE 8 Compact Profile 2, use the org.apache.derby.jdbc.BasicClientDataSource40 class."

      Please let me know if these tweaks need further tweaking – in the meantime I will start work on implementing them. Thanks.

      Attachments

        1. DERBY-6478-4.zip
          20 kB
          Camilla Haase
        2. DERBY-6478-4.diff
          12 kB
          Camilla Haase
        3. DERBY-6478-3.zip
          20 kB
          Camilla Haase
        4. DERBY-6478-3.diff
          11 kB
          Camilla Haase
        5. DERBY-6478-2.zip
          20 kB
          Camilla Haase
        6. DERBY-6478-2.diff
          7 kB
          Camilla Haase
        7. DERBY-6478.zip
          20 kB
          Camilla Haase
        8. DERBY-6478.stat
          0.4 kB
          Camilla Haase
        9. DERBY-6478.diff
          7 kB
          Camilla Haase

        Activity

          People

            chaase3 Camilla Haase
            chaase3 Camilla Haase
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: