If I develop a Smart Service plugin, I can pass in a javax.naming.Context object

If I develop a Smart Service plugin, I can pass in a javax.naming.Context object using Constructor, the Context object can be used to lookup the data source connection.

But when I develop Function plugins, can I also pass the Context object in Constructor? It's not mentioned in the document. Do anyone have experience to access the database inside Function plugins? The reason is we want to create a Function to access a BLOB column (The BLOB column is not supported by CDT)

Thanks.

OriginalPostID-140497

OriginalPostID-140497

  Discussion posts and replies are publicly visible