private void initRoles() { RoleEntity[] roles = createRoles(); RoleDao dao = new RoleDao(); dao.save(roles); }