Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
8 subscribers
Views
2261 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
If I develop a Smart Service plugin, I can pass in a javax.naming.Context object
guozhangy
over 10 years ago
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
Parents
0
venkats533
over 10 years ago
ServiceContext should be first argument in the constructor. Yes, if required JDBC connection can be invoked from plug-in code. Try to minimize or avoid JDBC connections as you loose flexibility and increases maintenance in terms of configuration.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
venkats533
over 10 years ago
ServiceContext should be first argument in the constructor. Yes, if required JDBC connection can be invoked from plug-in code. Try to minimize or avoid JDBC connections as you loose flexibility and increases maintenance in terms of configuration.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data