glassfish
  1. glassfish
  2. GLASSFISH-18511

JDBC resource name in the error message is confusing

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: entity-persistence
    • Labels:
      None

      Description

      If a JDBC resource referred in persistence.xml is not available then the following error message is thrown:

      Invalid resource: jdbc/MyDataSource__pm

      The JDBC resource name in this case "jdbc/myDataSource". __pm is an internal contract and should not be exposed in the error message as it becomes confusing.

        Activity

        arungupta created issue -

          People

          • Assignee:
            tware
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: