1 Reply Latest reply on Oct 7, 2014 7:29 PM by Isaac Rooskov

    Question regarding to Teiid Translator ExecutionFactory

    katherine Newbie

      Hi,

       

      I have created a translator which connects to underline file system database through the file system native APIs.

      When I issue two queries statements at same time, I will receive two queries and execute two queries at same time.

       

      The problem is when execute the first query, the APIs will lock some files. when the second query got executed, it failed since some of the files got locked ( the first query have not finished reading).

       

      Is there any way to queue up the queries in Translator createResultSetExecution(), after the first query finished, then execute the second query?

       

      Thank you.

       

      Kathy