commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r708671 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
Date Tue, 28 Oct 2008 21:14:25 GMT
Author: oheger
Date: Tue Oct 28 14:14:25 2008
New Revision: 708671

URL: http://svn.apache.org/viewvc?rev=708671&view=rev
Log:
Let DatabaseConfiguration extend AbstractFlatConfiguration rather than AbstractConfiguration.

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java?rev=708671&r1=708670&r2=708671&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java
Tue Oct 28 14:14:25 2008
@@ -31,6 +31,8 @@
 
 import javax.sql.DataSource;
 
+import org.apache.commons.configuration2.flat.AbstractFlatConfiguration;
+
 /**
  * Configuration stored in a database. The properties are retrieved from a
  * table containing at least one column for the keys, and one column for the
@@ -80,7 +82,7 @@
  * @author <a href="mailto:ebourg@apache.org">Emmanuel Bourg</a>
  * @version $Revision$, $Date$
  */
-public class DatabaseConfiguration extends AbstractConfiguration
+public class DatabaseConfiguration extends AbstractFlatConfiguration
 {
     /** Constant for the statement used by getProperty.*/
     private static final String SQL_GET_PROPERTY = "SELECT * FROM %s WHERE %s =?";



Mime
View raw message