From 0c5f51ebbcb7e22baa913e2012e3dcfcc6cf7897 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Aug 2014 09:54:58 +0200 Subject: java: remove commented out code Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36 --- connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'connectivity/qa/complex') diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java index b34a8185be87..822f1bc1fefd 100644 --- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java +++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java @@ -57,11 +57,9 @@ public class JdbcLongVarCharTest extends ComplexTestCase System.out.println("== Start testing =="); String url = "jdbc:mysql://localhost:3306/mysql?user=root"; - //String url = "jdbc:ingres://localhost:II7/demodb;AUTO=multi"; com.sun.star.sdbc.XConnection xConnection = null; com.sun.star.beans.PropertyValue prop[] = new PropertyValue[1]; prop[0] = new PropertyValue("JavaDriverClass", 0, "com.mysql.jdbc.Driver", PropertyState.DIRECT_VALUE); - //prop[0] = new PropertyValue("JavaDriverClass", 0, "com.ingres.jdbc.IngresDriver", PropertyState.DIRECT_VALUE); // get the remote office component context XMultiServiceFactory xServiceManager = param.getMSF(); @@ -70,7 +68,6 @@ public class JdbcLongVarCharTest extends ComplexTestCase com.sun.star.sdbc.XDriver xDriver = xDriverAccess.getDriverByURL(url); xConnection = xDriver.connect(url, prop); - //Object prepStmnt = xConnection.prepareStatement("SELECT * FROM t1 WHERE t1.c1 = ?"); Object prepStmnt = xConnection.prepareStatement("SELECT * FROM i90114 WHERE i90114.c1 = ?"); UnoRuntime.queryInterface(XParameters.class, prepStmnt).clearParameters(); UnoRuntime.queryInterface(XParameters.class, prepStmnt).setInt(1, 1); -- cgit