Hi All,
How can i implement read lock and write lock, any functions to do this
Regards Dharmendra Kumar Singh
Hi Dharmendra Kumar,
Maybe you shall have a look at the following resource :
http://docs.basex.org/wiki/Transaction_Management
Regards, Fabrice Etanchaud
“Perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away."
Saint-Exupéry
De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de DK Singh Envoyé : jeudi 17 août 2017 09:53 À : BaseX Objet : [basex-talk] Implement read lock and write lock
Hi All,
How can i implement read lock and write lock, any functions to do this
Regards Dharmendra Kumar Singh
Thanks for your reply favrice, I am new in the BaseX so if you little explore.
i have gone through the documentation within documentation these line has been given declare option query:read-lock "foo,bar";declare option query:read-lock "batz"; declare option query:write-lock "quix"; i have the file structure: /bloomsbury/config/audit.xml
so i have to lock the audit.xml so how can i do that.
RegardsDharmendra Kumar Singh
On Thursday, 17 August 2017 2:01 PM, Fabrice ETANCHAUD fetanchaud@pch.cerfrance.fr wrote:
<!--#yiv1976987597 _filtered #yiv1976987597 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv1976987597 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv1976987597 #yiv1976987597 p.yiv1976987597MsoNormal, #yiv1976987597 li.yiv1976987597MsoNormal, #yiv1976987597 div.yiv1976987597MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}#yiv1976987597 a:link, #yiv1976987597 span.yiv1976987597MsoHyperlink {color:blue;text-decoration:underline;}#yiv1976987597 a:visited, #yiv1976987597 span.yiv1976987597MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv1976987597 span.yiv1976987597EmailStyle17 {font-family:"Calibri", "sans-serif";color:#1F497D;}#yiv1976987597 .yiv1976987597MsoChpDefault {font-family:"Calibri", "sans-serif";} _filtered #yiv1976987597 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}#yiv1976987597 div.yiv1976987597WordSection1 {}-->Hi Dharmendra Kumar, Maybe you shall have a look at the following resource : http://docs.basex.org/wiki/Transaction_Management Regards, Fabrice Etanchaud “Perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away."
Saint-Exupéry De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de]De la part de DK Singh Envoyé : jeudi 17 août 2017 09:53 À : BaseX Objet : [basex-talk] Implement read lock and write lock Hi All, How can i implement read lock and write lock, any functions to do this Regards Dharmendra Kumar Singh
Hi Dhamendra Kumar,
XQuery and BaseX are extremely productive technologies, But at the cost of a minimal learning time.
I am sorry I cannot help at that point, You should take the time to read a few tutorials and have an overview of all the BaseX capabilities by reading the documentation starter sections.
Best regards, Fabrice
De : Dharmendra Singh [mailto:dharam.mahi@gmail.com] Envoyé : jeudi 17 août 2017 11:04 À : Fabrice ETANCHAUD; BaseX Objet : Re: [basex-talk] Implement read lock and write lock
Thanks for your reply favrice,
I am new in the BaseX so if you little explore.
i have gone through the documentation within documentation these line has been given
declare option query:read-lock "foo,bar"; declare option query:read-lock "batz"; declare option query:write-lock "quix";
i have the file structure:
/bloomsbury/config/audit.xml
so i have to lock the audit.xml so how can i do that.
Regards Dharmendra Kumar Singh
On Thursday, 17 August 2017 2:01 PM, Fabrice ETANCHAUD <fetanchaud@pch.cerfrance.frmailto:fetanchaud@pch.cerfrance.fr> wrote:
Hi Dharmendra Kumar,
Maybe you shall have a look at the following resource :
http://docs.basex.org/wiki/Transaction_Management
Regards, Fabrice Etanchaud
“Perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away."
Saint-Exupéry
De : basex-talk-bounces@mailman.uni-konstanz.demailto:basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de DK Singh Envoyé : jeudi 17 août 2017 09:53 À : BaseX Objet : [basex-talk] Implement read lock and write lock
Hi All,
How can i implement read lock and write lock, any functions to do this
Regards Dharmendra Kumar Singh
I would like to know what the read-lock and write-lock parameters mean. The documentation says they are in a different namespace than database names, so “factbook” doesn’t refer to the “factbook” database. What do the parameters refer to?
For Dharmendra’s questions, if /bloomsbury/config/audit.xml is a path in BaseX rather than a filesystem path, then probably nothing needs to be done other than being aware of what gets locked in which situation as described in that chapter.
If it is a filesystem path, then I think the scenario would need to be described more in order to answer the question.
Kendall
From: basex-talk-bounces@mailman.uni-konstanz.de on behalf of Fabrice ETANCHAUD fetanchaud@pch.cerfrance.fr Date: Thursday, August 17, 2017 at 2:14 AM To: 'Dharmendra Singh' dharam.mahi@gmail.com, BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Implement read lock and write lock
Hi Dhamendra Kumar,
XQuery and BaseX are extremely productive technologies, But at the cost of a minimal learning time.
I am sorry I cannot help at that point, You should take the time to read a few tutorials and have an overview of all the BaseX capabilities by reading the documentation starter sections.
Best regards, Fabrice
De : Dharmendra Singh [mailto:dharam.mahi@gmail.com] Envoyé : jeudi 17 août 2017 11:04 À : Fabrice ETANCHAUD; BaseX Objet : Re: [basex-talk] Implement read lock and write lock
Thanks for your reply favrice,
I am new in the BaseX so if you little explore.
i have gone through the documentation within documentation these line has been given
declare option query:read-lock "foo,bar"; declare option query:read-lock "batz"; declare option query:write-lock "quix";
i have the file structure:
/bloomsbury/config/audit.xml
so i have to lock the audit.xml so how can i do that.
Regards Dharmendra Kumar Singh
On Thursday, 17 August 2017 2:01 PM, Fabrice ETANCHAUD <fetanchaud@pch.cerfrance.frmailto:fetanchaud@pch.cerfrance.fr> wrote:
Hi Dharmendra Kumar,
Maybe you shall have a look at the following resource :
http://docs.basex.org/wiki/Transaction_Managementhttps://urldefense.proofpoint.com/v2/url?u=http-3A__docs.basex.org_wiki_Transaction-5FManagement&d=DwMGaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=JgwnBEpN1c-DDmq-Up2QMq9rrGyfWK0KtSpT7dxRglA&m=KXAttJfWhYBreEBbFknOurwEqQ4KhOWRtVrDH6t7Sx8&s=09eFTXhLtHgU56-gIAEDVb-csgVoQDBYIskFp9kfNsk&e=
Regards, Fabrice Etanchaud
“Perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away."
Saint-Exupéry
De : basex-talk-bounces@mailman.uni-konstanz.demailto:basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de DK Singh Envoyé : jeudi 17 août 2017 09:53 À : BaseX Objet : [basex-talk] Implement read lock and write lock
Hi All,
How can i implement read lock and write lock, any functions to do this
Regards Dharmendra Kumar Singh
Hi Kendall,
I see the documentation of the custom XQuery locks repeatedly leads to misunderstandings. I hope my recent edits will clarify the semantics:
http://docs.basex.org/wiki/Transaction_Management#Query_Options
Best, Christian
On Fri, Aug 18, 2017 at 10:18 PM, Kendall Shaw kendall.shaw@workday.com wrote:
I would like to know what the read-lock and write-lock parameters mean. The documentation says they are in a different namespace than database names, so “factbook” doesn’t refer to the “factbook” database. What do the parameters refer to?
For Dharmendra’s questions, if /bloomsbury/config/audit.xml is a path in BaseX rather than a filesystem path, then probably nothing needs to be done other than being aware of what gets locked in which situation as described in that chapter.
If it is a filesystem path, then I think the scenario would need to be described more in order to answer the question.
Kendall
From: basex-talk-bounces@mailman.uni-konstanz.de on behalf of Fabrice ETANCHAUD fetanchaud@pch.cerfrance.fr Date: Thursday, August 17, 2017 at 2:14 AM To: 'Dharmendra Singh' dharam.mahi@gmail.com, BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Implement read lock and write lock
Hi Dhamendra Kumar,
XQuery and BaseX are extremely productive technologies,
But at the cost of a minimal learning time.
I am sorry I cannot help at that point,
You should take the time to read a few tutorials and have an overview of all the BaseX capabilities by reading the documentation starter sections.
Best regards,
Fabrice
De : Dharmendra Singh [mailto:dharam.mahi@gmail.com] Envoyé : jeudi 17 août 2017 11:04 À : Fabrice ETANCHAUD; BaseX Objet : Re: [basex-talk] Implement read lock and write lock
Thanks for your reply favrice,
I am new in the BaseX so if you little explore.
i have gone through the documentation within documentation these line has been given
declare option query:read-lock "foo,bar";
declare option query:read-lock "batz";
declare option query:write-lock "quix";
i have the file structure:
/bloomsbury/config/audit.xml
so i have to lock the audit.xml so how can i do that.
Regards
Dharmendra Kumar Singh
On Thursday, 17 August 2017 2:01 PM, Fabrice ETANCHAUD fetanchaud@pch.cerfrance.fr wrote:
Hi Dharmendra Kumar,
Maybe you shall have a look at the following resource :
http://docs.basex.org/wiki/Transaction_Management
Regards,
Fabrice Etanchaud
“Perfection is finally attained not when there is no longer anything to add,
but when there is no longer anything to take away."
Saint-Exupéry
De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de DK Singh Envoyé : jeudi 17 août 2017 09:53 À : BaseX Objet : [basex-talk] Implement read lock and write lock
Hi All,
How can i implement read lock and write lock, any functions to do this
Regards
Dharmendra Kumar Singh
basex-talk@mailman.uni-konstanz.de