cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r650527 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/project/ProjectDataSourceFactory.java
Date Tue, 22 Apr 2008 14:14:15 GMT
Author: aadamchik
Date: Tue Apr 22 07:14:01 2008
New Revision: 650527

URL: http://svn.apache.org/viewvc?rev=650527&view=rev
Log:
CAY-785 Cayenne Modeler Fails to Open Project

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/project/ProjectDataSourceFactory.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/project/ProjectDataSourceFactory.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/project/ProjectDataSourceFactory.java?rev=650527&r1=650526&r2=650527&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/project/ProjectDataSourceFactory.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/project/ProjectDataSourceFactory.java
Tue Apr 22 07:14:01 2008
@@ -66,12 +66,12 @@
         DataSourceInfo info = null;
 
         if (loadFromXML) {
-           // try {
+            try {
                 info = new XMLConfigLoader().loadDriverInfo(location);
-//            }
-//            catch (ConfigurationException e) {
-//                // ignoring...
-//            }
+            }
+            catch (ConfigurationException e) {
+                // ignoring...
+            }
         }
 
         return info != null ? info : new DataSourceInfo();



Mime
View raw message