JDO
  1. JDO
  2. JDO-546

New test needed for enum field types and collections of enum types mapped to numeric and character columns

    Details

      Description

      Java enum types are now supported as persistent field types. New test cases are needed for fields of enums, fields of collections and arrays of enums, mapped to both numeric and character columns.

        Activity

        Craig L Russell created issue -
        Hide
        Michelle Caisse added a comment -

        Tests checked in. Revision: 591430

        Show
        Michelle Caisse added a comment - Tests checked in. Revision: 591430
        Michelle Caisse made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Michelle Caisse added a comment -

        Per discussion on jdo-dev, added jdbc-type info for fields to be stored in numeric columns. Revision: 592194

        Show
        Michelle Caisse added a comment - Per discussion on jdo-dev, added jdbc-type info for fields to be stored in numeric columns. Revision: 592194
        Hide
        Andy Jefferson added a comment -

        I fixed some errors in the ORM files for jdbc-type in SVN. The <column> needed to be a subelement of <element>, <key>, <value>. The associated ArrayList, Map tests now pass. The only test that doesnt pass is arrays of Enums, and you can track that via
        http://www.jpox.org/servlet/jira/browse/JAVAFIVEPLUGIN-94

        Show
        Andy Jefferson added a comment - I fixed some errors in the ORM files for jdbc-type in SVN. The <column> needed to be a subelement of <element>, <key>, <value>. The associated ArrayList, Map tests now pass. The only test that doesnt pass is arrays of Enums, and you can track that via http://www.jpox.org/servlet/jira/browse/JAVAFIVEPLUGIN-94
        Hide
        Andy Jefferson added a comment -

        Enum array test now also passes with updated Apache JDO SVN (changes to give consistent schema.sql and orm files), and with the latest jars in the JPOX Maven1 repo.

        Show
        Andy Jefferson added a comment - Enum array test now also passes with updated Apache JDO SVN (changes to give consistent schema.sql and orm files), and with the latest jars in the JPOX Maven1 repo.
        Andy Jefferson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Michelle Caisse
            Reporter:
            Craig L Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development