Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: JEE-JPA1-Module
    • Labels:
      None

      Description

      configuring the database connection in JPA persistence.xml is always ever a pain. Either you add you maintain multiple persistence.xml or you use JNDI for getting the underlying database connection for different Servers and ProjectStages.

      The solution is to introduce an own DataSource which can be configured in persistence.xml. This 'ConfigurableDataSource' knows itself where to get the settings from. In our case this will get configured via standard CDI mechanisms, e.g. @ProjectStageActivated and @ExpressionActivated.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Mark Struberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development