public VirtGraph(String _graphName, XADataSource _ds)
{
super();
if (_ds instanceof VirtuosoXADataSource) {
VirtuosoXADataSource vds = (VirtuosoXADataSource)_ds;
this.url_hostlist = vds.getServerName();
this.user = vds.getUser();
this.password = vds.getPassword();
}
this.graphName = _graphName==null?DEFAULT: _graphName;
try {