Implement or rearrange code in LuceneDataSource and friends to satisfy the
transactional SPI (for creating the commands/txstate).