Documentation of 'org.hsqldb.test.TestOdbcTypes' Java class
TestOdbcTypes
org.hsqldb.test

Class TestOdbcTypes

  • All Implemented Interfaces:
    junit.framework.Test


    public class TestOdbcTypes
    extends AbstractTestOdbc
    See AbstractTestOdbc for more general ODBC test information.
    See Also:
    AbstractTestOdbc
    • Constructor Detail

      • TestOdbcTypes

        public TestOdbcTypes()
      • TestOdbcTypes

        public TestOdbcTypes(java.lang.String s)
        Accommodate JUnit's test-runner conventions.
    • Method Detail

      • testIntegerSimpleRead

        public void testIntegerSimpleRead()
      • testTinyIntSimpleRead

        public void testTinyIntSimpleRead()
      • testSmallIntSimpleRead

        public void testSmallIntSimpleRead()
      • testBigIntSimpleRead

        public void testBigIntSimpleRead()
      • testFloatSimpleRead

        public void testFloatSimpleRead()
      • testDoubleSimpleRead

        public void testDoubleSimpleRead()
      • testBooleanSimpleRead

        public void testBooleanSimpleRead()
      • testCharSimpleRead

        public void testCharSimpleRead()
      • testVarCharSimpleRead

        public void testVarCharSimpleRead()
      • testFixedStringSimpleRead

        public void testFixedStringSimpleRead()
      • testDerivedStringSimpleRead

        public void testDerivedStringSimpleRead()
      • testDateSimpleRead

        public void testDateSimpleRead()
      • testTimeSimpleRead

        public void testTimeSimpleRead()
      • testTimestampSimpleRead

        public void testTimestampSimpleRead()
      • testTimestampWSimpleRead

        public void testTimestampWSimpleRead()
      • testBitSimpleRead

        public void testBitSimpleRead()
      • testBitVaryingSimpleRead

        public void testBitVaryingSimpleRead()
      • testBinarySimpleRead

        public void testBinarySimpleRead()
      • testVarBinarySimpleRead

        public void testVarBinarySimpleRead()
      • testDaySecIntervalSimpleRead

        public void testDaySecIntervalSimpleRead()
      • testSecIntervalSimpleRead

        public void testSecIntervalSimpleRead()
      • testIntegerComplex

        public void testIntegerComplex()
      • testTinyIntComplex

        public void testTinyIntComplex()
      • testSmallIntComplex

        public void testSmallIntComplex()
      • testBigIntComplex

        public void testBigIntComplex()
      • testFloatComplex

        public void testFloatComplex()
      • testDoubleComplex

        public void testDoubleComplex()
      • testBooleanComplex

        public void testBooleanComplex()
      • testCharComplex

        public void testCharComplex()
      • testVarCharComplex

        public void testVarCharComplex()
      • testDateComplex

        public void testDateComplex()
        TODO: Find out if there is a way to select based on an expression using a named derived pseudo-column. public void testDerivedComplex() { PreparedStatement ps = null; ResultSet rs = null; try { ps = netConn.prepareStatement( "SELECT id, cv || 'app' appendage FROM alltypes\n" + "WHERE appendage = ?"); ps.setString(1, "cvapp"); rs = ps.executeQuery(); assertTrue("Got no rows appendage = 'cvapp'", rs.next()); assertEquals(String.class, rs.getObject("r").getClass()); assertTrue("Got only one row with appendage = 'cvapp'", rs.next()); assertEquals("cvapp", rs.getString("r")); assertFalse("Got too many rows with appendage = 'cvapp'", rs.next()); } catch (SQLException se) { junit.framework.AssertionFailedError ase = new junit.framework.AssertionFailedError(se.getMessage()); ase.initCause(se); throw ase; } finally { try { if (rs != null) { rs.close(); } if (ps != null) { ps.close(); } } catch(Exception e) { } } }
      • testTimeComplex

        public void testTimeComplex()
      • testTimestampComplex

        public void testTimestampComplex()
      • testTimestampWComplex

        public void testTimestampWComplex()
      • testBinaryComplex

        public void testBinaryComplex()
      • testVarBinaryComplex

        public void testVarBinaryComplex()
      • main

        public static void main(java.lang.String[] sa)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.