@Override
	public Object load(){
		Object model=null;
		PreparedStatement stmt = null;
		ResultSet rs = null;
		XStream xStream = new XStream(new DomDriver());
		try {
			//TODO change query
			String query = "select descriptions from GameDescriptions";
			stmt = db.getConnection().prepareStatement(query);
			rs = stmt.executeQuery();
			db.getConnection().commit();
			while (rs.next()) {
				/*byte[] st = (byte[]) rs.getObject(1);
				ByteArrayInputStream baip = new ByteArrayInputStream(st);
				ObjectInputStream ois = new ObjectInputStream(baip);*/
				String xml = (String)rs.getString(1);
				model = (Object) xStream.fromXML(xml);
				//model = (Object)ois.readObject();
			}
			rs.close();
			stmt.close();
		}
		catch (SQLException e) {
			System.out.println("Failed DB load game description:"+e.getMessage());
		}		
//		finally {
//			SQLPlugin.safeClose(rs);
//			SQLPlugin.safeClose(stmt);
//		}
		return model;
	}