incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [90/92] [abbrv] git commit: Starting new test for jdbc driver, there's not code for testing anything yet.
Date Tue, 11 Jun 2013 02:42:16 GMT
Starting new test for jdbc driver, there's not code for testing anything yet.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/b12b1a9a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/b12b1a9a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/b12b1a9a

Branch: refs/heads/0.1.5
Commit: b12b1a9a31116e6938b59c65330d3d0e736664c2
Parents: 7620924
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Jun 10 22:33:05 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Jun 10 22:33:05 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/blur/jdbc/BlurJdbcTest.java | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/b12b1a9a/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
----------------------------------------------------------------------
diff --git a/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java b/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
new file mode 100644
index 0000000..4aedaf7
--- /dev/null
+++ b/blur-jdbc/src/test/java/org/apache/blur/jdbc/BlurJdbcTest.java
@@ -0,0 +1,24 @@
+package org.apache.blur.jdbc;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.sql.Statement;
+
+import org.junit.Test;
+
+public class BlurJdbcTest {
+  
+  @Test
+  public void testJdbcDriver() throws SQLException, ClassNotFoundException {
+//    Class.forName(BlurJdbc.class.getName());
+//    Connection connection = DriverManager.getConnection("jdbc:blur:blur-vm:40010");
+//    Statement statement = connection.createStatement();
+//    ResultSet resultSet = statement.executeQuery("select * from test8493");
+//    while (resultSet.next()) {
+//      System.out.println(resultSet.getString(1));
+//    }
+  }
+
+}


Mime
View raw message