* @throws SqlJetException
*/
private String getRandomHash(final ISqlJetSchema schema) throws SqlJetException {
final ISqlJetBtreeDataTable data = new SqlJetBtreeDataTable(btreeCopy, REP_CACHE_TABLE, false);
try {
data.last();
long lastKey = data.getRowId();
if (lastKey <= 0)
return null;
Random random = new Random();
final int key = random.nextInt((int) lastKey);