Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3356

Support String version field in Integration test

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Complete
    • 1.2.3.RELEASE
    • 1.2.4.RELEASE
    • TESTING
    • None

    Description

      gvNIX occ-checksum add-on allows to use Optimistic Concurrency Control without add a "version" persistent field to a entity.

      This feature is really useful on project which has to use RE on legacy database and must left unchanged database schema.

      This requires to add a String transient field to entity to hold computed checksum based on record contents.

      When integration test is added to entities managed by this add-on some test (flushTest and mergeTest) has compilation errors because it uses the ">" comparator to check version field.

      We need support version field of type String in integration fields.

      I'll prepare a pull-request which solve this problem.

      Attachments

        Activity

          People

            stewarta Alan Stewart
            jmvivo Jose Manuel Vivó ( Chema ) - DISID.
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: