Customer Portal

DBJoin Issue After Upgrading to 4.1

Comments 4

  • Avatar
    dflkid
    0
    Comment actions Permalink
    In case anyone experiences this, I found the solution. The ? in the query now needs to be enclosed in single quotes. This is not documented as far as I can tell and is a change in behavior from the previous version. I'm using mySQL
  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    Could you please provide more information on the issue. I’m curious to know:


    • What DB connection your using?

    • What JDBC driver version and database version you are using?

    • Which version were you using previously and to which version did you upgrade to?

    Also, it would be great if you could provide your graph.
  • Avatar
    dflkid
    0
    Comment actions Permalink
    I'm using MySQL via Rackspace's Cloud DB service, I think they use MySQL 5. Not sure on the JDBC driver. I upgraded to 4.1.1 from 4.0.2 (I think). Nothing else changed in my environment, but the placeholder in the query below now needs the single quotes around it. Without the quotes, it's generates the error I mentioned above.

    <attr name="sqlQuery"><![CDATA[SELECT id FROM stores WHERE extid = '?']]></attr>


    Also, it would be great if you could provide your graph.
  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    It appears that your experiencing an issue that was actually fixed in CloverETL 4.1.2, you can see more details on this here. I would recommend that you upgrade to aforementioned version.

Please sign in to leave a comment.