@Test( expected = QueryException.class )
public void testInvalidDeepPath()
{

    Query query = Query.from( schemaService.getDynamicSchema( DataElementGroup.class ) );
    query.setObjects( dataElementGroups );
    query.add( Restrictions.eq( "dataElements.abc", "deabcdefghA" ) );
    queryEngine.query( query );
}