Question
Accenture
IN
Last activity: 26 Jul 2016 9:02 EDT
Is it possible to read blob data through Java Programming
pzpvstream is the field that contains the blob, so can we write a java code outside pega that will read this and print the xml data into a file.
P.S
Pega 7.1.7
***Updated by moderator: Marissa. Removed user added Ask the Expert tag. Apologies for confusion, shouldn't have been an end-user option.***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Nadar,
Can you tell us why do you want to read the blob column (pzPvStream) outside Pega? Can you elaborate on your requirement.
You can use BIX extract process if you are looking to extract particular properties from the blob column outside Pega.
I think we can also create a service layer which invokes pega activities using pzInsKey as param to get the blob data in XML format outside to Pega.
SiXworks
GB
A couple of things to bear in mind:
- Pega reserve the right to modify the format of the blob without notification as it is considered a "Pega internal capability"
- the blob is held in a proprietary binary hash format which may also be encrypted
- you may fall foul of issues with backward-chaining declare expressions
Pegasystems
IN
I agree with @andrew and @harish on this. That said, if did want to look into getting some specific property value out of the BLOB, you can reference the UDFs, in your custom SQL outside of the platform, that are shipped with the product. Note that UDFs are used by report definitions to retrieve un-optimized property value from the BLOB.
Serialized Solutions Inc
CA
I agree with the others and also recommend not using any technology outside of Pega to obtain data from the database; (ie. you could create a custom activity or Report Definition combined with REST service to get the same data and therefore using OOTB Pega functionality to get the data to meet your requirements).
However, to get access to the BLOB in any language, you need to connect to the database and execute an SQL command. If you look at a Pega Report Definition for an unoptimized property, you see will see that Pega generates the SQL to do that. That SQL will give you the "trick" for crafting the SQL;
Again, I don't condone it but I have to admit your requirement may require this solution; of which, I would be interested to see what that requirement is.
Accenture
IN
Nothing is notified to me whenever a activity happens on my post, mesh.pega.com was good where i am notified about the activity on my post.
Pegasystems Inc.
IN
Hi Rasaiya,
I suspect that it could be because you have not subscribed to Group Content.
Please refer these FAQs to undertsand better - Product Support Community Frequently Asked Questions
Like with every change, there are initial hiccups. We request you to bear with us while we work towards improving the features here. Please click on the black feedback button present on the right side of this page to enter your feedback. We ensure that all your feedback is being taken seriously.
Thank you for your patience.
Regards,
Lochan | Community Moderator | Pegasystems Inc.
Accenture
IN
We are working on a client query, that whether we can read data from blob or not from the database without using pega