19 - download zip or view in your browser what are the main differences between a political poll and an opinion poll? is there a difference between the terms opinion poll and political poll? what is a political poll? how do you get a political poll? a political poll is a survey of how public opinion on a political issue of a particular topic or a...package com.alibaba.druid.bvt.pool;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.util.JdbcUtils;
public class JdbcConnTest19 extends TestCase {
public void test_jdbc_conn() throws Exception {
String url = "jdbc:oracle:thin:@10.10.1.14:1521:s1";
String username = "user";
String password = "pass";
String sql = "select * from table where id = 1";
String output = "row1";
JdbcConn jdbcConn = JdbcConnManager.getJdbcConn(url, username, password);
Assert.assertEquals(output, jdbcConn.getStmt(sql));
}
public void test_jdbc_create() throws Exception {
String sql = "CREATE TABLE T1(NAME varchar2(10), DESC varchar2(10))";
String output = "table: T1 created";
JdbcConn jdbcConn = JdbcConnManager.getJdbcConn("jdbc:oracle:thin:@oracle:1521:s1", "user", "pass");
Assert.assertEquals(output, jdbcConn.getCreateTable(sql));
public void test_jdbc_drop() throws Exception {
String sql
Related links:
Commentaires