db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r988573 - in /db/torque/torque4/trunk/torque-generator: pom.xml src/test/java/org/apache/torque/generator/source/jdbc/JdbcMetadataSourceTest.java
Date Tue, 24 Aug 2010 14:41:50 GMT
Author: tfischer
Date: Tue Aug 24 14:41:50 2010
New Revision: 988573

URL: http://svn.apache.org/viewvc?rev=988573&view=rev
Log:
- Fix JdbcMetadataSourceTest to use correct driver class for in-memory database
- Removed unnecessary DerbyClient dependency

Modified:
    db/torque/torque4/trunk/torque-generator/pom.xml
    db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/source/jdbc/JdbcMetadataSourceTest.java

Modified: db/torque/torque4/trunk/torque-generator/pom.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/pom.xml?rev=988573&r1=988572&r2=988573&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/pom.xml (original)
+++ db/torque/torque4/trunk/torque-generator/pom.xml Tue Aug 24 14:41:50 2010
@@ -99,12 +99,6 @@
       <version>10.5.3.0_1</version>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.derby</groupId>
-      <artifactId>derbyclient</artifactId>
-      <version>10.5.3.0_1</version>
-      <scope>test</scope>
-    </dependency>
   </dependencies>
 
   <build>

Modified: db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/source/jdbc/JdbcMetadataSourceTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/source/jdbc/JdbcMetadataSourceTest.java?rev=988573&r1=988572&r2=988573&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/source/jdbc/JdbcMetadataSourceTest.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/test/java/org/apache/torque/generator/source/jdbc/JdbcMetadataSourceTest.java
Tue Aug 24 14:41:50 2010
@@ -51,7 +51,7 @@ public class JdbcMetadataSourceTest
 
     private static String URL = "jdbc:derby:memory:myDb;create=true";
 
-    private static String DRIVER = "org.apache.derby.jdbc.ClientDriver";
+    private static String DRIVER = "org.apache.derby.jdbc.EmbeddedDriver";
 
     @BeforeClass
     public static void beforeClass() throws Exception



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message