614	
	
1、transient防止用这个关键词修饰的变量序列化。当对象被反序列化时,被 transient 修饰的变量值不会被持久化和恢复。
2、transient 只能修饰变量,不能修饰类和方法。
实例
publicCatalogTreeCatalog(StringcatalogId){
CatalogcatalogNode=findById(catalogId).get();//查询当前节点
List<Catalog>catalogList=findChild(catalogId);//查询该节点的所有子节点
for(Catalogchild:catalogList){
Catalogcatalog=TreeCatalog(child.getCatalog_id());
catalogNode.getChildren().add(catalog);
returncatalogNode;