Tapestry 5
  1. Tapestry 5
  2. TAP5-2102

Allow supplying EntityManager properties via TapestryPersistenceUnitInfo

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.6
    • Fix Version/s: 5.3.7, 5.4
    • Component/s: tapestry-jpa
    • Labels:
      None

      Description

      Currently EntityManagerSourceImpl.createEntityManagerFactory create an internal map on the fly. We should users to supply their own properties map to the EntityManagerFactory as the default properties for EntityManager.

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #1040 (See https://builds.apache.org/job/tapestry-trunk-freestyle/1040/)
        FIXED - TAP5-2102: Allow supplying EntityManager properties via (Revision 1578ea0d229b536622258b4bd17176fb9ced9c85)

        Result = FAILURE
        kaosko :
        Files :

        • tapestry-jpa/src/main/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImpl.java
        • tapestry-jpa/src/main/java/org/apache/tapestry5/internal/jpa/PersistenceUnitInfoImpl.java
        • tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java
        • tapestry-jpa/src/main/java/org/apache/tapestry5/jpa/TapestryPersistenceUnitInfo.java
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #1040 (See https://builds.apache.org/job/tapestry-trunk-freestyle/1040/ ) FIXED - TAP5-2102 : Allow supplying EntityManager properties via (Revision 1578ea0d229b536622258b4bd17176fb9ced9c85) Result = FAILURE kaosko : Files : tapestry-jpa/src/main/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImpl.java tapestry-jpa/src/main/java/org/apache/tapestry5/internal/jpa/PersistenceUnitInfoImpl.java tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java tapestry-jpa/src/main/java/org/apache/tapestry5/jpa/TapestryPersistenceUnitInfo.java
        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #1041 (See https://builds.apache.org/job/tapestry-trunk-freestyle/1041/)
        FIXED - TAP5-2102: Allow supplying EntityManager properties via (Revision 0ec991e06a100a79040200b4e1d6a1927b1f7156)

        Result = FAILURE
        kaosko :
        Files :

        • tapestry-jpa/src/test/java/org/example/app5/services/AppModule.java
        • tapestry-jpa/build.gradle
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #1041 (See https://builds.apache.org/job/tapestry-trunk-freestyle/1041/ ) FIXED - TAP5-2102 : Allow supplying EntityManager properties via (Revision 0ec991e06a100a79040200b4e1d6a1927b1f7156) Result = FAILURE kaosko : Files : tapestry-jpa/src/test/java/org/example/app5/services/AppModule.java tapestry-jpa/build.gradle
        Hide
        Kalle Korhonen added a comment -

        Not convinced about using TapestryPersistenceUnitInfo to carry the properties map but we could improve the solution later.

        Show
        Kalle Korhonen added a comment - Not convinced about using TapestryPersistenceUnitInfo to carry the properties map but we could improve the solution later.

          People

          • Assignee:
            Kalle Korhonen
            Reporter:
            Kalle Korhonen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development