/** * */ package testsuite.simple; import testsuite.BaseTestCase; /** * @author Tonci * */ public class TestBug30851 extends BaseTestCase { /** * @param name */ public TestBug30851(String name) { super(name); // TODO Auto-generated constructor stub } public void testbug30851() throws Exception { // System.out.println("java.vm.version : " + System.getProperty("java.vm.version")); // System.out.println("java.vm.vendor : " + System.getProperty("java.vm.vendor")); // System.out.println("java.runtime.version : " + System.getProperty("java.runtime.version")); // System.out.println("os.name : " + System.getProperty("os.name")); // System.out.println("os.version : " + System.getProperty("os.version ")); // System.out.println("sun.management.compiler : " + System.getProperty("sun.management.compiler")); try { createTable("bug30851", "(CharCol CHAR(10) DEFAULT NULL)"); this.stmt.execute("INSERT INTO bug30851 VALUES (NULL)"); this.rs = this.stmt.executeQuery("SELECT * FROM bug30851"); this.rs.first(); String strvar = this.rs.getString(1); //assertNotNull("Should be null", strvar); } finally { closeMemberJDBCResources(); } } /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub junit.textui.TestRunner.run(TestBug30851.class); } }