OpenJPA
  1. OpenJPA
  2. OPENJPA-1681

Produce JPA Bean Validation example and corresponding documentation

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: samples
    • Labels:
      None

      Description

      Integration with a JSR-303 bean validation provider is one of the major new features of JPA 2.0. OpenJPA has many jUnits that test this integration, but little to nothing in terms of documentation and examples.

      I've been working on an OpenJPA Bean Validation Primer and corresponding sample code. A basic set of code for a sample: pom, validation constraints, validation code, domain model, and simple jUnit was recently committed under revision 951071. The primer will be published to the wiki within the next day or two, with references to the sample code.

      The code in commit 951071 shows the basic functionality required by the primer, but isn't much of a usable example. A second phase of this work will include producing a more usable example.

        Activity

        Jeremy Bauer created issue -
        Donald Woods made changes -
        Field Original Value New Value
        Fix Version/s 2.1.0 [ 12314542 ]
        Michael Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jeremy Bauer
            Reporter:
            Jeremy Bauer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development