Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-22

[dbutils] QueryLoader.loadQueries() should be protected


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
    • Environment:

      Operating System: other
      Platform: All


      Those of us who don't want to use traditional java properties files to store properties have no way to
      utilize the QueryLoader (I am using XML, for instance, which can be parsed into a subclass of
      Properties if so desired). It would be sufficient to make loadQueries() protected instead of private, so I
      can overload that one method, but it would be nicer to be able to specify a class which adheres to some
      interface (contains load(InputStream is) would be sufficient), which will be instantiated by the
      QueryLoader for reading 'properties.' Or alternatively, at least for my use, the ability to specify a
      Properties instance would also work. Regardless, the absolute dependance on a traditional properties
      file is totally limiting for use of the class, and as soon as loadQueries() becomes protected, I can remove
      the duplicate source code from my code repository and just inherit from QueryLoader.


        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Resolved Resolved Closed Closed
        1189d 23h 48m 1 Henri Yandell 02/Jan/08 07:29
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Fix Version/s 1.1 [ 12311973 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Final [ 12311724 ]
        Henri Yandell made changes -
        Key COM-1607 DBUTILS-22
        Project Commons [ 12310458 ] Commons DbUtils [ 12310470 ]
        Affects Version/s 1.0 Final [ 12311651 ]
        Assignee Jakarta Commons Developers Mailing List [ ]
        Component/s DbUtils [ 12311110 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 31460 12341759
        David Graham added a comment -

        loadQueries() is now protected instead of private.

        David Graham added a comment - loadQueries() is now protected instead of private.
        Sam Gendler created issue -


          • Assignee:
            Sam Gendler
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: