cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Lattermann (JIRA)" <>
Subject [jira] [Created] (CAY-2370) ValueObjectType for byte[] fails lookup
Date Fri, 06 Oct 2017 20:38:00 GMT
Dirk Lattermann created CAY-2370:

             Summary: ValueObjectType for byte[] fails lookup
                 Key: CAY-2370
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.0.B2
            Reporter: Dirk Lattermann

Trying to register a ValueObjectType<UUID, byte[]> using
          .addModule(binder -> ServerModule.contributeValueObjectTypes(binder)
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

This message was sent by Atlassian JIRA

View raw message