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
Eduardo Fuentes
Appian Employee
over 10 years ago
There's an example in this plug-in
forum.appian.com/.../summary
The source code is inside the JAR and it's called ExecuteQuery.java
I would be really cautious with this, not sure what you are going to do with the retrieved data but if you're going to create a document in Appian with it you better use the RDBMS Blob Utility plug-in
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
There's an example in this plug-in
forum.appian.com/.../summary
The source code is inside the JAR and it's called ExecuteQuery.java
I would be really cautious with this, not sure what you are going to do with the retrieved data but if you're going to create a document in Appian with it you better use the RDBMS Blob Utility plug-in
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data