}
}
private void introspectTableCache(EntityType entityType, Class type)
{
AmberTableCache tableCache = (AmberTableCache) type.getAnnotation(AmberTableCache.class);
if (tableCache != null) {
entityType.getTable().setReadOnly(tableCache.readOnly());
long cacheTimeout = Period.toPeriod(tableCache.timeout());
entityType.getTable().setCacheTimeout(cacheTimeout);
}
}