}
private void processGeneratedValueAnnotation(Class<?> clazz, String persistenceUnit, EntityMetadata m,
Map<String, IdDiscriptor> entityNameToKeyDiscriptorMap)
{
GeneratedValueProcessor processer = new GeneratedValueProcessor();
String pu = m.getPersistenceUnit();
String clientFactoryName = getClientFactoryName(persistenceUnit);
if (pu != null && pu.equals(persistenceUnit)
|| clientFactoryName.equalsIgnoreCase("com.impetus.client.rdbms.RDBMSClientFactory"))
{
Field f = (Field) m.getIdAttribute().getJavaMember();
if (f.isAnnotationPresent(GeneratedValue.class))
{
processer.process(clazz, f, m, entityNameToKeyDiscriptorMap);
}
}
}