cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r654717 - in /cayenne/main/branches/STABLE-1.2/cayenne: cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/jdbc/ColumnDescriptor.java cayenne-other/release-notes/RELEASE-NOTES-1.2.5.txt
Date Fri, 09 May 2008 08:25:56 GMT
Author: aadamchik
Date: Fri May  9 01:25:56 2008
New Revision: 654717

URL: http://svn.apache.org/viewvc?rev=654717&view=rev
Log:
CAY-672 Change the logic to get the Java class from ResultSetMetadata
CAY-1052  Invalid cast on NUMERICs with scale of 0 using Postgres JDBC 8.2+

Modified:
    cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/jdbc/ColumnDescriptor.java
    cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.5.txt

Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/jdbc/ColumnDescriptor.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/jdbc/ColumnDescriptor.java?rev=654717&r1=654716&r2=654717&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/jdbc/ColumnDescriptor.java
(original)
+++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/jdbc/ColumnDescriptor.java
Fri May  9 01:25:56 2008
@@ -189,8 +189,7 @@
         this.qualifiedColumnName = name;
         this.label = name;
         this.jdbcType = metaData.getColumnType(position);
-        this.javaClass = getDefaultJavaClass(metaData.getColumnDisplaySize(position),
-                metaData.getScale(position));
+        this.javaClass = metaData.getColumnClassName(position);
     }
 
     /**
@@ -355,4 +354,4 @@
     public void setLabel(String columnName) {
         this.label = columnName;
     }
-}
\ No newline at end of file
+}

Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.5.txt
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.5.txt?rev=654717&r1=654716&r2=654717&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.5.txt
(original)
+++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.5.txt
Fri May  9 01:25:56 2008
@@ -14,4 +14,6 @@
 
 Bug Fixes:
 
+CAY-672 Change the logic to get the Java class from ResultSetMetadata
 CAY-941 NPE in SimpleNode.connectChildren()
+CAY-1052  Invalid cast on NUMERICs with scale of 0 using Postgres JDBC 8.2+



Mime
View raw message