cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r654716 - in /cayenne/main/branches/STABLE-2.0/cayenne: cayenne-java/src/cayenne/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt
Date Fri, 09 May 2008 08:21:31 GMT
Author: aadamchik
Date: Fri May  9 01:21:30 2008
New Revision: 654716

URL: http://svn.apache.org/viewvc?rev=654716&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-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java
    cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt

Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java?rev=654716&r1=654715&r2=654716&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java
(original)
+++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/access/jdbc/ColumnDescriptor.java
Fri May  9 01:21:30 2008
@@ -153,8 +153,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);
     }
 
     /**

Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt?rev=654716&r1=654715&r2=654716&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt
(original)
+++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt
Fri May  9 01:21:30 2008
@@ -17,7 +17,9 @@
 
 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+
 
 ----------------------------------
 Release: 2.0.4



Mime
View raw message