EntityManager em = emf.createEntityManager();
final String userId = "1";
final int tweetId = 12;
final UUID timeLineId = UUID.randomUUID();
final Date tweetDate = new Date();
RedisCompoundKey embeddable = new RedisCompoundKey(userId, tweetId, timeLineId);
RedisEmbeddedUser user = new RedisEmbeddedUser(userId);
user.setTweetBody("My tweet");
user.setTweetDate(tweetDate);
user.setEmbeddable(embeddable);
em.persist(user);