Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

The dbunit test context builds a cache of the tables to truncate (DbUnitTestContext.truncateDataSetCache) the first time it is required, and maintains a static copy of it. It should be possible to reset the cache.

This is my situation: I have two spring test classes, each with its own set of persisted hibernate entities, but the table cache is only initialized once and therefore does not truncate the tables from the second unit test.

Activity

There are no comments yet on this issue.

People

  • Assignee:
    Fabrizio Giustina
    Reporter:
    Gabriele Catania
Vote (0)
Watch (0)

Dates

  • Created:
    Updated: