| org.hsqldb.test.TestBase org.hsqldb.test.TestSql
TestSql | public class TestSql extends TestBase (Code) | | Test sql statements via jdbc against in-memory database
author: fredt@users |
Method Summary | |
public static void | main(String[] argv) | protected void | setUp() | protected void | tearDown() | public void | testAny() | public void | testBinds() | public void | testBinds2() | 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. | public void | testMetaData() | public void | testUnionColumnTypes() In 1.8.0.2, this fails in client / server due to column type of the
second select for b1 being boolean, while the first select is interpreted
as varchar. | public void | testX1() |
setUp | protected void setUp()(Code) | | |
tearDown | protected void tearDown()(Code) | | |
testAny | public void testAny()(Code) | | |
testBinds | public void testBinds()(Code) | | Fix for bug #1201135
|
testBinds2 | public void testBinds2()(Code) | | |
testDoubleNaN | public void testDoubleNaN()(Code) | | 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
|
testMetaData | public void testMetaData()(Code) | | |
testUnionColumnTypes | public void testUnionColumnTypes()(Code) | | In 1.8.0.2, this fails in client / server due to column type of the
second select for b1 being boolean, while the first select is interpreted
as varchar. The rowOutputBase class attempts to cast the Java Boolean
into String.
|
testX1 | public void testX1()(Code) | | |
|
|