public int initTimenode(int owner) {
		Timenode node = new Timenode();
		node.setDisplay("true");
		node.setEvent_headnode(0);
		node.setNextnode(0);
		node.setTime_description("世界诞生");
		node.setTime_owner(owner);
		int newid = 0;
		conn = SQLconnect.getConnection();
		ResultSet res;
		try {
			String sql = String
					.format("INSERT INTO Timenodes (`nextnode`, `time_description`, `time_owner`, `display`,`event_headnode`)"
							+ " VALUES ('%s', '%s', '%s','%s','%s')",
							node.getNextnode(), node.getTime_description(),
							node.getTime_owner(), "true", 0);
			Statement st = (Statement) conn.createStatement(); // 创建用于执行静态sql语句的Statement对象
			System.out.println(sql);
			int count = st.executeUpdate(sql, Statement.RETURN_GENERATED_KEYS); // 执行插入操作的sql语句，并返回插入数据的个数
			if (count > 0) {// 记录保存成功
				res = st.getGeneratedKeys();
				if (res.next())
					newid = res.getInt(1);

			}
			System.out.println("newid " + newid);
			System.out.println("insert " + count + " entries" + " newid"
					+ newid); // 输出插入操作的处理结果 */
			conn.close(); // 关闭数据库连接
			new EventNodeFactory().initEventnode(newid);
		} catch (SQLException e) {
			System.out.println("插入数据失败 " + e.getMessage());
		}
		return newid;
	}