Osteoarthritis patients undergoing primary hip and knee replacement are followed-up and changes in their glucose metabolism and other metabolic parameters (obesity, cholesterol levels) are examined. Persistent postoperative pain is examined as secondary outcome.