2 Replies Latest reply on Nov 6, 2013 5:26 PM by rareddy

    Cast exception while executing query over VDB (OData datasource)

    ramanathan.p

      Experiencing cast exception while executing query over dynamic VDB that connects to OData datasource. Following are the steps to reproduce:

       

      1. Dynamic VDB was created which points to JNDI DataSource that refers to OData service URL and ‘odata’ as translator.
      2. JNDI DataSource and Dynamic VDB are deployed successfully in EAP 6.1.0.GA
      3. Connected to VDB (DB Connection – Teiid Driver) using JBoss Developer Studio 7.0.0.GA & Teiid Designer 8.3 Beta 2
      4. Experiencing cast exception while executing query as shown below:

       

      select * from <TABLE_NAME>;

       

      java.util.ArrayList cannot be cast to java.lang.String

       

      -

      Ramanathan