2 Replies Latest reply on Oct 5, 2007 3:21 AM by Tom Baeyens

    user types use cases

    Tom Baeyens Master

      Converters mapping, BPEL dom element storage

      "Miguel Valdes Faura" wrote:
      Regarding Enum text storage, there is already an standard JPA annotation/xml called enumerated. On the other items listed (dom element storage and converters) we need more info on what are exactly the issues ?


        • 1. Re: user types use cases
          Tom Baeyens Master

          so enums are covered. no problem there.

          for the others, if we want JPA, we need to add a String field next to e.g. the dom element. then a listener will convert the dom element in the persisted string representation and vice versa.

          same technique could be applied for other use cases like the converter mappings.

          the downside is of course that some fields are only used for persistence, while others are to be used only at runtime in the class implementation. the classes are going to look more messy.

          • 2. Re: user types use cases
            Tom Baeyens Master

            all in all. this is not good but no showstopper