Symbian3/SDK/Source/GUID-05FDC28B-F033-5FDC-8F41-71BD212C27E2.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 11 Mar 2010 15:24:26 +0000
changeset 2 ebc84c812384
parent 0 89d6a7a84779
permissions -rw-r--r--
week 10 bug fix submission: Bug 1892, Bug 1897, Bug 1319. Also 3 or 4 documents were found to contain code blocks with SFL, which has been fixed. Partial fix for broken links, links to Forum Nokia, and the 'Symbian platform' terminology issues.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-05FDC28B-F033-5FDC-8F41-71BD212C27E2"><title>Access modes</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>A named database supports three access modes:</p> <ul><li id="GUID-BFF0FE8F-FCA1-57E4-BA1B-EB6B26955067"><p>Exclusive read/write access</p> </li> <li id="GUID-81273D9E-7999-5C7D-A8F9-5F13C8DE5A5A"><p>Shared read-only access</p> </li> <li id="GUID-F04D5329-85C3-551A-8A32-26E6170CA69D"><p>Shared read/write access</p> </li> </ul> <p>The first two access modes are implemented through a file server session which provides the necessary file access modes while shared read/write access must be done through the DBMS server.</p> <p>Creating a database through the <codeph>Create()</codeph> and <codeph>Replace()</codeph> member functions of <codeph>RDbNamedDatabase</codeph>, initiates client-side access to the database and does not require a connection to the DBMS server.</p> <p><codeph>RDbNamedDatabase</codeph> offers two <codeph>Open()</codeph> functions, one for client-side access and the other for client-server access. Client-side access is preferred over client-server access as data retrieval is faster than indirecting via the DBMS server.</p> </conbody></concept>