OpenJPA
  1. OpenJPA
  2. OPENJPA-617

Use of hardcoded DB platform strings should be avoided

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      This is a bad practice in the code that I recently put in.
      Hard-coded "Oracle" string should be avoided.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2h 31m 1 Catalina Wei 29/May/08 05:00
        Resolved Resolved Closed Closed
        649d 14h 32m 1 Donald Woods 09/Mar/10 18:32
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Michael Dick made changes -
        Fix Version/s 1.2.0 [ 12313102 ]
        Catalina Wei made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Catalina Wei added a comment -

        1. The hard coded "Oracle" String has been removed.
        2. Not all jdbc driver have the connection APIs available.
        Tthe trace info for the initial connection propertities are only available to JDBC 3 drivers.
        For this reaon, this particular message trace is removed from DataSourceFactory,
        but placed in DBDictionary.
        Because of this move, some message text has be relocated into org.apache.openjpa.jdbc.sql package.

        Show
        Catalina Wei added a comment - 1. The hard coded "Oracle" String has been removed. 2. Not all jdbc driver have the connection APIs available. Tthe trace info for the initial connection propertities are only available to JDBC 3 drivers. For this reaon, this particular message trace is removed from DataSourceFactory, but placed in DBDictionary. Because of this move, some message text has be relocated into org.apache.openjpa.jdbc.sql package.
        Catalina Wei created issue -

          People

          • Assignee:
            Catalina Wei
            Reporter:
            Catalina Wei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development