M firstModel = models.get(0);
if (models.size() == 1) {
return firstModel.save();
}
TableMeta tableMeta = firstModel.getTableMeta();
<BUG>if (tableMeta.isCached()) {</BUG>
firstModel.purgeCache();
<BUG>}</BUG>
String generatedKey = tableMeta.getGeneratedKey();
Generator generator = tableMeta.getGenerator();

M firstModel = models.get(0);
if (models.size() == 1) {
return firstModel.save();
}
TableMeta tableMeta = firstModel.getTableMeta();
firstModel.purgeCache();
String generatedKey = tableMeta.getGeneratedKey();
Generator generator = tableMeta.getGenerator();
