XQResult result = runner.runQuery(dataSource.newQuery("('Hello World')"));
XQResult result = runner.runQuery(dataSource.newQuery("xdmp:database-name(xdmp:database())")); XQResultItem item = result.nextItem(); properties.setProperty("default-database", item.asString());
	public void checkConnection(String user, String password, String host, int port) throws XQException {		XQFactory factory = new XQFactory();		XQDataSource dataSource = factory.newDataSource( host, port, user, password);		XQRunner runner = dataSource.newSyncRunner();		XQResult result = runner.runQuery(dataSource.newQuery("('Hello World')"));	}