Symbian3/SDK/Source/GUID-05FDC28B-F033-5FDC-8F41-71BD212C27E2.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 21 Jan 2010 18:18:20 +0000
changeset 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of Documentation_content according to Feature bug 1266 bug 1268 bug 1269 bug 1270 bug 1372 bug 1374 bug 1375 bug 1379 bug 1380 bug 1381 bug 1382 bug 1383 bug 1385

<?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>