Search code examples
jdbcmessagebrokerembedded-sql

WMB: In ESQL, is it possible to connect to a datasource defined as a JDBCProvider configurable service in lieu of ODBC DSN?


I'm inheriting an existing WMB flow that is ESQL-centric (Compute nodes) that accesses its database via an ODBC DSN. I'd prefer to use a configurable service for database access in lieu of an ODBC DSN, which is what I use with Java-centric flows (JavaCompute nodes).

Is it possible to configure a Compute node to talk to a db via a configurable service?


Solution

  • Yes, but you need to call a Java class from the ESQL.

    See Connecting to an application database using JDBC