Question
Cognizant
IN
Last activity: 15 Jun 2024 7:45 EDT
What is the basic difference between obj-open and obj-open by handle?
What is the basic difference between obj-open and obj-open by handle?In object-open by handle we give pzinskey but that is also similar to obj open only?so what is the base difference then?
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 15 Jun 2024 7:45 EDT
Eclatprime Digital Private Limited
IN
@TanyaS58 Basic difference between both in opening the instances like When you need a high performance and have to open only one case , go for Obj-Open-By-Handle.
- Obj-open basically works on based of class key/primary key, also Use
Obj-Open
when you need to retrieve instances based on specific search criteria and when you expect multiple instances to match the criteria. - Use this obj-open by handle when you have a directly handle of a class then for a specific search and want to directly open that instance without the need for additional search criteria.
In obj -open and handle we do same operations but it's just a difference of what information we have and what not ! so if we have handle key and need high performance then why to spend time in searching b/w all cases/handles. More basic difference :
@TanyaS58 Basic difference between both in opening the instances like When you need a high performance and have to open only one case , go for Obj-Open-By-Handle.
- Obj-open basically works on based of class key/primary key, also Use
Obj-Open
when you need to retrieve instances based on specific search criteria and when you expect multiple instances to match the criteria. - Use this obj-open by handle when you have a directly handle of a class then for a specific search and want to directly open that instance without the need for additional search criteria.
In obj -open and handle we do same operations but it's just a difference of what information we have and what not ! so if we have handle key and need high performance then why to spend time in searching b/w all cases/handles. More basic difference :
- In obj-open you open via class and select the properties which you want to show over screen or want to deal with the properties but in handle you directly trigger on the PZINSKEY that handle and had all information about that handle only
- In obj open it seach using the class "ABC-Work" all instances and gives the best results on based on filter properties but inside handle you need to tell the handle name and get all the properties result of that property only.
- Definitely handle gives you high performance because searching is happening on a target handle instance not on whole class.
Eclatprime Digital Private Limited
AU
Hi ,
Obj-Open is a general-purpose method for opening an object instance based on its class key/Primary key. It's the safer and more common choice in most cases.
Obj-Open-By-Handle uses an internal, system-generated pzInsKey to open an instance. This pzInsKey is unique and permanent, unlike the class key which can be shared by multiple instances.
Cognizant
IN
@AnkithaReddyR here shared by multiple instances in the sense the cases of the class will be having same key thats what right?
Accepted Solution
Updated: 15 Jun 2024 7:45 EDT
Eclatprime Digital Private Limited
IN
@TanyaS58 Basic difference between both in opening the instances like When you need a high performance and have to open only one case , go for Obj-Open-By-Handle.
- Obj-open basically works on based of class key/primary key, also Use
Obj-Open
when you need to retrieve instances based on specific search criteria and when you expect multiple instances to match the criteria. - Use this obj-open by handle when you have a directly handle of a class then for a specific search and want to directly open that instance without the need for additional search criteria.
In obj -open and handle we do same operations but it's just a difference of what information we have and what not ! so if we have handle key and need high performance then why to spend time in searching b/w all cases/handles. More basic difference :
@TanyaS58 Basic difference between both in opening the instances like When you need a high performance and have to open only one case , go for Obj-Open-By-Handle.
- Obj-open basically works on based of class key/primary key, also Use
Obj-Open
when you need to retrieve instances based on specific search criteria and when you expect multiple instances to match the criteria. - Use this obj-open by handle when you have a directly handle of a class then for a specific search and want to directly open that instance without the need for additional search criteria.
In obj -open and handle we do same operations but it's just a difference of what information we have and what not ! so if we have handle key and need high performance then why to spend time in searching b/w all cases/handles. More basic difference :
- In obj-open you open via class and select the properties which you want to show over screen or want to deal with the properties but in handle you directly trigger on the PZINSKEY that handle and had all information about that handle only
- In obj open it seach using the class "ABC-Work" all instances and gives the best results on based on filter properties but inside handle you need to tell the handle name and get all the properties result of that property only.
- Definitely handle gives you high performance because searching is happening on a target handle instance not on whole class.