Tapestry 5
  1. Tapestry 5
  2. TAP5-1472

Provide basic integration with JPA 2

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: tapestry-jpa
    • Labels:
      None

      Description

      Provide basic integration with JPA 2. The goals are:

      • Support for multiple EntityManagers
      • Injection of EntityManager into both: components and services
      • Provide a way to configure EntityManagers programmatically, not only via persistence.xml
      • Create ValueEncoder for entities on-the-fly
      • Provide "entity" PersistentFieldStrategy
      • Provide "entity" ApplicationStatePersistenceStrategy
      • Provide @CommitAfter annotations

      We also should consider if a tapestry-orm or similar project is needed in order to reuse common source code.

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #292 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/292/)
        TAP5-1472: Using @PersistContext annotation instead of @PersistenceUnit to express a dependency on an EntityManager persistence context.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #292 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/292/ ) TAP5-1472 : Using @PersistContext annotation instead of @PersistenceUnit to express a dependency on an EntityManager persistence context.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #291 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/291/)

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #291 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/291/ )
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #289 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/289/)
        TAP5-1472: Configuring persistence unit using non-jta DataSource.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #289 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/289/ ) TAP5-1472 : Configuring persistence unit using non-jta DataSource.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #288 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/288/)
        TAP5-1472: Providing a persistence unit name is optional if only a single unit exists.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #288 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/288/ ) TAP5-1472 : Providing a persistence unit name is optional if only a single unit exists.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #287 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/287/)
        TAP5-1472: Refactored integration app.
        TAP5-1472: Added support for entity configuration based on package name, when only a single persistence unit used.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #287 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/287/ ) TAP5-1472 : Refactored integration app. TAP5-1472 : Added support for entity configuration based on package name, when only a single persistence unit used.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #286 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/286/)
        TAP5-1472: Made persistence configuration file configurable as symbol value.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #286 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/286/ ) TAP5-1472 : Made persistence configuration file configurable as symbol value.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #285 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/285/)

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #285 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/285/ )
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #281 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/281/)
        TAP5-1472: Added ApplicationStatePersistenceStrategy for JPA entities.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #281 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/281/ ) TAP5-1472 : Added ApplicationStatePersistenceStrategy for JPA entities.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #280 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/280/)
        TAP5-1472: Added early startup for EntityManagerFactories.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #280 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/280/ ) TAP5-1472 : Added early startup for EntityManagerFactories.
        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #279 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/279/)
        TAP5-1472: initial commit, still a lot to do.

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #279 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/279/ ) TAP5-1472 : initial commit, still a lot to do.

          People

          • Assignee:
            Igor Drobiazko
            Reporter:
            Igor Drobiazko
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development