* The entity name of the managed schema.
* @return The ManagedSchema entity
* @throws SchemaNotFoundException
*/
private ManagedSchema getManagedSchema(String tableName, String entityName) {
ManagedSchema managedSchema = getManagedSchemaFromSchemaMap(tableName,
entityName);
if (managedSchema == null) {
refreshManagedSchemaCache(tableName, entityName);
managedSchema = getManagedSchemaFromSchemaMap(tableName, entityName);
if (managedSchema == null) {