code: public void parseEmbeddable(final QEntityFactory entityFactory,
  	                            final SessionFactoryImplementor sessionFactory,
  	                            final String prefix,
  	                            final EmbeddableType<?> type)
  	{
  		this.metamodelEmbeddable = type;
  		// Make sure the entity factory sees this embeddable
  		entityFactory.getEmbeddable(type.getJavaType(), type);
  
  		for (Attribute<?, ?> attribute : type.getAttributes())
  		{
  			parseFields(entityFactory, sessionFactory, prefix, attribute);
  		}
  	}
docs: Parse an @Embeddable
  
  @param entityFactory
  @param sessionFactory
  @param prefix
  @param type