hi
thanks for the reply.
We are using 4.4.1. and I try that query using the Java API.
(TXMLObjectAccessor.xquery(TXQuery)). I found out that the combined query works if I send that request via URL:
TAMINO_URL/CM?_xquery=(for $q in input()/Brochure return $q sort by (Date_published descending))[position() le 5]
So it doesn’t look like a problem with the database.
that’s the stacktrace:
Database access failure (9297, INOXYE9297, Internal database error has occurred)
com.softwareag.tamino.db.api.accessor.TXQueryException( message: Database access failure (9297, INOXYE9297, Internal database error has occurred), tag: JavaTaminoAPI_4_4_1_19, java: 1.6.0_18, os: Windows XP 5.1 ): at com.softwareag.tamino.db.api.accessor.TAccessFailureVerifier.verifyXQueryResponse(Unknown Source) at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.xquery(Unknown Source)
In my case it’s not a very big problem because I can limit the results in the loop that processes the result elements later in the code, but maybe that error helps debugging Tamino.
#Tamino#API-Management#webMethods