TupleRelationalStateImpl state = new TupleRelationalStateImpl();
EmbeddableClass embeddableClass = entityClass.getEmbeddedClasses().get( idName );
for ( SimpleAttribute attr : embeddableClass.getSimpleAttributes() ) {
state.addValueState( new ColumnRelationalStateImpl( attr, meta ) );
}
attributeBinding.initialize( state );
Map<String, String> parms = new HashMap<String, String>( 1 );
parms.put( IdentifierGenerator.ENTITY_NAME, entityBinding.getEntity().getName() );
IdGenerator generator = new IdGenerator( "NAME", "assigned", parms );
entityBinding.getEntityIdentifier().setIdGenerator( generator );
// entityBinding.getEntityIdentifier().createIdentifierGenerator( meta.getIdentifierGeneratorFactory() );