Geronimo
  1. Geronimo
  2. GERONIMO-5077 Bean Validation 1.0 enhancements
  3. GERONIMO-5226

Pass container ValidationFactory to the persistance manager when creating an entity manager.

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: javaee6, naming
    • Security Level: public (Regular issues)
    • Labels:
      None

      Activity

      Rick McGuire created issue -
      Hide
      Rick McGuire added a comment -

      Section 3.6.2 of the JPA 2.0 spec specifies that the in Java EE environments, a ValidatorFactory instance be made available by the Java EE container. This instance is passed to the persistence provider via a property on the createContainerEntityManagerFactory() call. This might require implementation/integration with OpenEJB.

      Show
      Rick McGuire added a comment - Section 3.6.2 of the JPA 2.0 spec specifies that the in Java EE environments, a ValidatorFactory instance be made available by the Java EE container. This instance is passed to the persistence provider via a property on the createContainerEntityManagerFactory() call. This might require implementation/integration with OpenEJB.
      David Jencks made changes -
      Field Original Value New Value
      Fix Version/s 3.0 [ 12314206 ]
      Affects Version/s 3.0 [ 12314206 ]
      Component/s javaee6 [ 12313380 ]
      Component/s naming [ 11461 ]
      Hide
      Vamsavardhana Reddy added a comment -

      At revision: 993568
      o Hook the BValModuleBuilderExtension to openejb deployer.
      o Add ValidatorFactoryGBean as a parameter to PersistenceUnitGBean constructor.

      Show
      Vamsavardhana Reddy added a comment - At revision: 993568 o Hook the BValModuleBuilderExtension to openejb deployer. o Add ValidatorFactoryGBean as a parameter to PersistenceUnitGBean constructor.
      Hide
      Rex Wang added a comment -

      I think this has been fixed, so close it.

      Show
      Rex Wang added a comment - I think this has been fixed, so close it.
      Rex Wang made changes -
      Status Open [ 1 ] Closed [ 6 ]
      Resolution Fixed [ 1 ]
      Transition Time In Source Status Execution Times Last Executer Last Execution Date
      Open Open Closed Closed
      522d 18h 45m 1 Rex Wang 06/Sep/11 10:24

        People

        • Assignee:
          Unassigned
          Reporter:
          Rick McGuire
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development