Program: 176557
Project: 176557
Buggy source:
@Test public void onCRUD(){
  EntityManager em=emf.createEntityManager();
  UUID timeLineId=UUID.randomUUID();
  Date currentDate=new Date();
  CassandraCompoundKey key=new CassandraCompoundKey("String_Node_Str",1,timeLineId);
  CassandraEmbeddedAssociation timeLine=new CassandraEmbeddedAssociation(key);
  timeLine.setTweetBody("String_Node_Str");
  timeLine.setTweetDate(new Date());
  UserInfo userInfo=new UserInfo("String_Node_Str","String_Node_Str","String_Node_Str",31);
  timeLine.setUserInfo(userInfo);
  em.persist(timeLine);
  em.clear();
  CassandraEmbeddedAssociation result=em.find(CassandraEmbeddedAssociation.class,key);
  Assert.assertNotNull(result);
  Assert.assertEquals(currentDate,result.getTweetDate());
  Assert.assertEquals(timeLineId,result.getKey().getTimeLineId());
  Assert.assertEquals("String_Node_Str",result.getUserInfo().getFirstName());
  Assert.assertEquals(31,result.getUserInfo().getAge());
  result.getUserInfo().setFirstName("String_Node_Str");
  result.getUserInfo().setAge(23);
  em.merge(result);
  em.clear();
  result=null;
  result=em.find(CassandraEmbeddedAssociation.class,key);
  Assert.assertNotNull(result);
  Assert.assertEquals(currentDate,result.getTweetDate());
  Assert.assertEquals(timeLineId,result.getKey().getTimeLineId());
  Assert.assertEquals("String_Node_Str",result.getUserInfo().getFirstName());
  Assert.assertEquals(23,result.getUserInfo().getAge());
  em.remove(result);
  em.clear();
  result=em.find(CassandraEmbeddedAssociation.class,key);
  Assert.assertNull(result);
}

Fixed version (ground truth):
@Test public void onCRUD(){
  EntityManager em=emf.createEntityManager();
  Map<String,Client> clients=(Map<String,Client>)em.getDelegate();
  Client client=clients.get("String_Node_Str");
  ((CassandraClientBase)client).setCqlVersion("String_Node_Str");
  UUID timeLineId=UUID.randomUUID();
  Date currentDate=new Date();
  CassandraCompoundKey key=new CassandraCompoundKey("String_Node_Str",1,timeLineId);
  CassandraEmbeddedAssociation timeLine=new CassandraEmbeddedAssociation(key);
  timeLine.setTweetBody("String_Node_Str");
  timeLine.setTweetDate(new Date());
  UserInfo userInfo=new UserInfo("String_Node_Str","String_Node_Str","String_Node_Str",31);
  timeLine.setUserInfo(userInfo);
  em.persist(timeLine);
  em.clear();
  CassandraEmbeddedAssociation result=em.find(CassandraEmbeddedAssociation.class,key);
  Assert.assertNotNull(result);
  Assert.assertEquals(currentDate,result.getTweetDate());
  Assert.assertEquals(timeLineId,result.getKey().getTimeLineId());
  Assert.assertEquals("String_Node_Str",result.getUserInfo().getFirstName());
  Assert.assertEquals(31,result.getUserInfo().getAge());
  result.getUserInfo().setFirstName("String_Node_Str");
  result.getUserInfo().setAge(23);
  em.merge(result);
  em.clear();
  result=null;
  result=em.find(CassandraEmbeddedAssociation.class,key);
  Assert.assertNotNull(result);
  Assert.assertEquals(currentDate,result.getTweetDate());
  Assert.assertEquals(timeLineId,result.getKey().getTimeLineId());
  Assert.assertEquals("String_Node_Str",result.getUserInfo().getFirstName());
  Assert.assertEquals(23,result.getUserInfo().getAge());
  em.remove(result);
  em.clear();
  result=em.find(CassandraEmbeddedAssociation.class,key);
  Assert.assertNull(result);
}