org.logicalcobwebs.proxool
Class PropertyTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.PropertyTest

public class PropertyTest
extends AbstractProxoolTest

Tests whether ConnectionPoolDefinition recognises properties properly

Since:
Proxool 0.8.2
Version:
$Revision: 1.2 $, $Date: 2004/05/26 17:19:09 $
Author:
billhorsman, $Author: brenuart $ (current maintainer)

Constructor Summary
PropertyTest(java.lang.String alias)
           
 
Method Summary
 void testDelegateProperty()
          Test whether we are successfully passing properties onto the delegate driver.
 
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTest

public PropertyTest(java.lang.String alias)
Method Detail

testDelegateProperty

public void testDelegateProperty()
                          throws java.lang.Exception
Test whether we are successfully passing properties onto the delegate driver. This relies on a feature of Hypersonic 1.7.1 where ResultSetMetaData.isWritable() is unsupported. The default behaviour, however, is just to return a value that maybe incorrect but without throwing an exception. If you set the property jdbc.strict_md = true then Hypersonic does throw an exception. This might change in future versions of Hypersonic so we should keep an eye on this. See http://hsqldb.sourceforge.net/doc/src/org/hsqldb/jdbcResultSet.html

Throws:
java.lang.Exception