I'll reject this as it really is a user mistake, the forum post even shows the initialization code for the EntityManager.