javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-167

Modify JPA examples to use java:comp/DefaultDataSource instead of jdbc/__default

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.1
    • Component/s: examples
    • Labels:
      None

      Description

      From Java EE 7 Platform Spec section EE.5.19:

      The Java EE Product Provider must make the default data source accessible to the application under the JNDI name java:comp/DefaultDataSource.

      jdbc/__default is not portable.

        Activity

        Ian Evans created issue -
        Ian Evans made changes -
        Field Original Value New Value
        Summary Modify JPA examples to use jdbc/DefaultDataSource instead of jdbc/__default Modify JPA examples to use java:comp/DefaultDataSource instead of jdbc/__default
        Hide
        Ian Evans added a comment -

        Fixed in source. Will be available in 7.0.1.

        Show
        Ian Evans added a comment - Fixed in source. Will be available in 7.0.1.
        Ian Evans made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ian Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: