cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r439608 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/types/ExtendedTypeMap.java
Date Sat, 02 Sep 2006 15:36:59 GMT
Author: aadamchik
Date: Sat Sep  2 08:36:59 2006
New Revision: 439608

URL: http://svn.apache.org/viewvc?rev=439608&view=rev
Log:
CAY-649 trunk (3.0)

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/types/ExtendedTypeMap.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/types/ExtendedTypeMap.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/types/ExtendedTypeMap.java?rev=439608&r1=439607&r2=439608&view=diff
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/types/ExtendedTypeMap.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/types/ExtendedTypeMap.java
Sat Sep  2 08:36:59 2006
@@ -77,8 +77,9 @@
      * @since 3.0
      */
     protected void initDefaultFactories() {
-        internalTypeFactories = new ArrayList(2);
+        internalTypeFactories = new ArrayList(3);
         internalTypeFactories.add(new EnumTypeFactory());
+        internalTypeFactories.add(new ByteOrCharArrayFactory(this));
 
         // note that Serializable type should be used as a last resort after all other
         // alternatives are exhausted.
@@ -199,7 +200,7 @@
 
         if (javaClass.isArray()) {
             // only support single dimensional arrays now
-            name = javaClass.getComponentType() + "[]";
+            name = javaClass.getComponentType().getName() + "[]";
         }
         else {
             name = javaClass.getName();



Mime
View raw message