org.hsqldb.test
Class TestSql

java.lang.Object
  extended byTestCase
      extended byorg.hsqldb.test.TestSql

public class TestSql
extends TestCase

Test sql statements via jdbc against in-memory database

Author:
fredt@users
See Also:
Serialized Form

Constructor Summary
TestSql(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 void testDoubleNaN()
          Demonstration of a reported bug.
 void testMetaData()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSql

public TestSql(java.lang.String name)
Method Detail

testMetaData

public void testMetaData()

testDoubleNaN

public void testDoubleNaN()
Demonstration of a reported bug.

Because all values were turned into strings with toString before PreparedStatement.executeQuery() was called, special values such as NaN were not accepted. In 1.7.0 these values are inserted as nulls (fredt) This test can be extended to cover various conversions through JDBC


main

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


Copyright © 2001 - 2002 HSQL Development Group. All Rights Reserved.