hmesha in JBossCache

JBCACHE-905 - Added ant targets to support building test code coverage using clover. Those targets can be invoked by calling:

sh build.sh with.clover all-functionaltests - instrument source code with clover during compilation.

sh build.sh clover.html - to produce html formated clover reports

sh build.sh clover.pdf - to produce pdf formated clover reports.

JBCACHE-330 first draft JDBCCacheLoader performance test case

Overridden the transaction rollback methods and renamed the class so it can be run as part of the test suite

Overridden the transaction rollback methods and renamed the class so it can be run as part of the test suite

Since we added the JDBCCacheLoaderTest using Derby, this test case is not needed any longer

Added Derby related files removal to clean target

Commented trace statement that tries to write null value to the log which causes the DS test case to fail

JBCACHE-400 Added logic to read the driver name of the database connection and either use BLOB or LONGVARBINARY for node column type

Removed JDBCCacheLoaderMySQLDSTestCase because it requires a jdbc driver to be in the lib directory and that will cause the build to fail.

Added Derby config to run test cases as part of the test suite.

    • -7
    • +13
    /core/trunk/etc/cache-jdbc.properties
Changed JDBCCacheLoaderTest to run with Derby as part of the test suite. Added JDBCCacheLoaderxxxDSTestCase to run to run manually to test the use of DataSource object

JBCACHE-346 changed prepare() to only prepare connection if the connection factory of type NonManagedConnectionFactory

Derby embedded engine release 10.1.2.1 to run JDBCCacheLoader test cases

    • binary
    /core/trunk/lib/derby.jar
JBCACHE-345 made primary key constraint name configurable for the cache table

    • -0
    • +9
    /core/trunk/docs/TreeCache/en/master.xml
    • -0
    • +1
    /core/trunk/etc/jdbcCacheLoader-service.xml
JBCACHE-345 made primary key constraint name configurable for the cache table

JBCACHE-320, updated the call to Loader.get() to match the changed signature

JBCACHE-320, JDBCCacheLoader test extends CacheLoaderTestBase and test for large object insert in various databases based on the one is configured in the property file etc/cache-jdbc.properties

JBCACHE-320, added PostgreSQL configuration and changed the default node.type from BLOB to LONGBLOB with MySQL to handle large objects test case

JBCACHE-320, added cache-jdbc.properties copy in the compile target to allow external property configuration for jdbc cache loader test case

    • -13
    • +98
    /core/trunk/docs/TreeCache/en/master.xml
    • -0
    • +64
    /core/trunk/docs/design/NewTreeCacheListener.txt
Fixed remove method calls to align with the change in the activation and passivation interceptors

Fixed activation and passivation. Removed handling of other methods beside evict from PassivationInterceptor. Refined the way ActivationInterceptor deals with nodes.

Cache Passivation Test cases