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

      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.
      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.

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development