code: public static TableModel entity2ReadOnlyModel(Class<?> entityClass) {
  		DialectException.assureNotNull(entityClass, "Entity class can not be null");
  		TableModel model = globalTableModelCache.get(entityClass);
  		if (model != null)
  			return model;
  		model = entity2ModelWithConfig(entityClass);
  		model.setReadOnly(true);
  		globalTableModelCache.put(entityClass, model);
  		return model;
  	}
docs: Convert entity class to a read-only TableModel instance