I’m writing some CloverETL graphs that have one JDBC source connection and write one or more flat files. One of the problems I need to solve is mismatch between the data-format of certain database fields and how they are supposed to appear in the flat file. I have a database table that provides the lookup information I need; however, I don’t want to use a CloverETL DBJoin or LookupJoin node to solve it, because I have many fields in the record that all need the exact same transformation.
Is there an easy way of getting the set of all JDBC connections defined in the current graph, from within custom transformation code (that is, from within a class that implements “org.jetel.component.DataRecordTransform” and whose fully-qualified name is used as the value of the “Transform class” property of a node)?
(for my particular problem, so far, I can assume that there is only one such connection, and that it is suitable for that purpose; if there was more than one, could I choose a particular one by ID, or by its “name” property?)