File f1l = FileSupport.createTempFile();
File f2 = FileSupport.createTempFile();
File f2l = FileSupport.createTempFile();
try
{
LoggingTransactionalDatabase<String, String, Long> db1 = new LoggingTransactionalDatabase<String, String, Long>(new HeapBackend<String, String>(new ReadWritableFileAdapter(f1), false, StringSerializer.INSTANCE, StringSerializer.INSTANCE, lah), new ReadWritableFileAdapter(f1l), StringSerializer.INSTANCE, StringSerializer.INSTANCE, lah);
try
{
LoggingTransactionalDatabase<String, String, Long> db2 = new LoggingTransactionalDatabase<String, String, Long>(new HeapBackend<String, String>(new ReadWritableFileAdapter(f2), false, StringSerializer.INSTANCE, StringSerializer.INSTANCE, lah), new ReadWritableFileAdapter(f2l), StringSerializer.INSTANCE, StringSerializer.INSTANCE, lah);
try
{
Transaction txn = Transaction.startTransaction(false);
db2.insert("years", "2007");
txn.commit();