Catching cursor handle

This is my code:

TStreamAccessor acceso;
TResponse respuesta=null;
//Invocamos la consulta
TQuery tquery = new TQuery(XQuery);
TInputStream is = acceso.openCursor(tquery,pos,cant);
TResponseBuilderImpl aTRBI = new TResponseBuilderImpl(TDOMObjectModel.getInstance());
respuesta = aTRBI.buildForXML(is);

how could i catch the open cursor handle???


Hello Alfonso,

It seems here you are using classes from the TaminoAPI4J that are not documented which is not recommended. Anyway as far as I know there is no way to catch the cursor handle. You can use the fetchCursor() method of the TStreamAccessor interface. Is there a particular reason for wanting the cursor handle?

Best regards,

Stuart Fyffe-Collins
Software AG (UK) Ltd.