uiserver: add dependencies of hibernate and mysql connector