cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [1/5] cayenne git commit: CAY-2370 ValueObjectType for byte[] fails lookup
Date Fri, 13 Oct 2017 11:54:44 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 4637acdf5 -> beabacefa


CAY-2370 ValueObjectType for byte[] fails lookup


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/d226eeeb
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/d226eeeb
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/d226eeeb

Branch: refs/heads/master
Commit: d226eeeb390d840fa53cbde79f24910bed1518e2
Parents: 2568f02
Author: Arseni Bulatski <ancarseni@gmail.com>
Authored: Tue Oct 10 12:40:26 2017 +0300
Committer: Arseni Bulatski <ancarseni@gmail.com>
Committed: Tue Oct 10 12:40:26 2017 +0300

----------------------------------------------------------------------
 .../org/apache/cayenne/access/types/ValueObjectTypeFactory.java    | 2 +-
 docs/doc/src/main/resources/RELEASE-NOTES.txt                      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/d226eeeb/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
index 5ce4273..f67b621 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
@@ -45,7 +45,7 @@ public class ValueObjectTypeFactory implements ExtendedTypeFactory {
         if(valueObjectType == null) {
             return null;
         }
-        ExtendedType<?> decorator = map.getExplictlyRegisteredType(valueObjectType.getTargetType().getName());
+        ExtendedType<?> decorator = map.getExplictlyRegisteredType(valueObjectType.getTargetType().getCanonicalName());
 
         return new ExtendedTypeConverter(decorator, valueObjectType);
     }

http://git-wip-us.apache.org/repos/asf/cayenne/blob/d226eeeb/docs/doc/src/main/resources/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/docs/doc/src/main/resources/RELEASE-NOTES.txt b/docs/doc/src/main/resources/RELEASE-NOTES.txt
index a4e62b9..c91ec34 100644
--- a/docs/doc/src/main/resources/RELEASE-NOTES.txt
+++ b/docs/doc/src/main/resources/RELEASE-NOTES.txt
@@ -48,6 +48,7 @@ CAY-2365 SQLExec query tries to convert (unexpected) result set into objects
 CAY-2366 Incorrect EJBQL COUNT translation
 CAY-2367 ClassCastException reading object with an attribute of type 'char'
 CAY-2368 ColumnSelect: Property.self() translates into wrong SQL code
+CAY-2370 ValueObjectType for byte[] fails lookup
 
 ----------------------------------
 Release: 4.0.B1


Mime
View raw message