true, true); System.out.println(data);
true, false, false); System.out.println(new String(data, "UTF-8"));
    public static void main( String[] args ) throws Exception {        QueryService service = new QueryServiceLocator();        Query query = service.getQuery();		String session = query.connect("guest", "guest");				String data = query.getResource(session, 			"/db/shakespeare/plays/hamlet.xml",			true, true);		System.out.println(data);		query.disconnect(session);    }