Subversion Repositories SmartDukaan

Rev

Rev 21826 | Rev 21920 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21826 Rev 21850
Line 81... Line 81...
81
		}
81
		}
82
		ff.set_id(id);
82
		ff.set_id(id);
83
		Gson gs = new Gson();
83
		Gson gs = new Gson();
84
		DBObject dbObject = (DBObject) JSON.parse(gs.toJson(ff));
84
		DBObject dbObject = (DBObject) JSON.parse(gs.toJson(ff));
85
		collection.insert(dbObject);
85
		collection.insert(dbObject);
-
 
86
		//collection.find();
86
	}
87
	}
87
 
88
 
88
	public static void main(String[] args) throws Exception{
89
	public static void main(String[] args) throws Exception{
89
		System.out.println(getItemsByBundleId(100000));
90
		System.out.println(getItemsByBundleId(100000));
90
	}
91
	}