public static boolean isColumnInEmbeddableIndexable(Field embeddedField, String columnFieldName)
{
Class<?> embeddableClass = PropertyAccessorHelper.getGenericClass(embeddedField);
Index indexAnn = embeddableClass.getAnnotation(Index.class);
IndexCollection indexCollection = embeddableClass.getAnnotation(IndexCollection.class);
if (indexCollection != null && indexCollection.columns() != null)
{
for (com.impetus.kundera.index.Index column : indexCollection.columns())
{
if (columnFieldName != null && column != null && column.name() != null
&& column.name().equals(columnFieldName))