Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2370

ValueObjectType for byte[] fails lookup

    XMLWordPrintableJSON

Details

    Description

      Trying to register a ValueObjectType<UUID, byte[]> using
      .addModule(binder -> ServerModule.contributeValueObjectTypes(binder)
      .add(H2UUIDValueObjectType.class))
      does not work, because in ValueObjectTypeFactory, method getType(Class<?>), the lookup map.getExplicitlyRegisteredType() returns null. This is because a key of "byte[]" is present in the typeMap of the ExtendedTypeMap, but the lookup is done with the className, which is "[B".

      Attachments

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              dlkw Dirk Lattermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: