/[gnue]/gnue-common/src/datasources/drivers/adodbapi/adodbapi/__init__.py
ViewVC logotype

Diff of /gnue-common/src/datasources/drivers/adodbapi/adodbapi/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by btami, Thu Aug 28 22:07:46 2003 UTC revision 1.1.2.1 by jcater, Fri Oct 10 01:21:11 2003 UTC
# Line 0  Line 1 
1    #
2    # This file is part of GNU Enterprise.
3    #
4    # GNU Enterprise is free software; you can redistribute it
5    # and/or modify it under the terms of the GNU General Public
6    # License as published by the Free Software Foundation; either
7    # version 2, or(at your option) any later version.
8    #
9    # GNU Enterprise is distributed in the hope that it will be
10    # useful, but WITHOUT ANY WARRANTY; without even the implied
11    # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12    # PURPOSE. See the GNU General Public License for more details.
13    #
14    # You should have received a copy of the GNU General Public
15    # License along with program; see the file COPYING. If not,
16    # write to the Free Software Foundation, Inc., 59 Temple Place
17    # - Suite 330, Boston, MA 02111-1307, USA.
18    #
19    # Copyright 2000-2003 Free Software Foundation
20    #
21    
22    from Connection import *
23    
24    __description__ = _("ADO-DB Data Driver for MS SQL-Server/Access")
25    __driverurl__ = "http://sourceforge.net/projects/adodbapi"
26    
27    __doc__ = _("""
28       Supported attributes (via connections.conf or <database> tag)""") + """
29    
30         oledb_provider   (required)
31         data_source      (required)
32         initial_catalog   (optional for SQL Server)
33         network_library (optional for SQL Server)
34         data_provider    (optional for SQL Server)""" + _("""
35    
36     You can find more connection strings here:""") + """
37     http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm
38    """
39    
40    __examples__ = """
41    [access]
42    comment = """ + _("MS Access database") + """
43    provider = adodbapi
44    oledb_provider = Microsoft.Jet.OLEDB.4.0
45    data_source = C:\mydb.mdb
46    
47    [sqlserver]
48    comment = """ + _("MS SQL Server database") + """
49    provider = adodbapi
50    oledb_provider = sqloledb
51    data_source = myServerName
52    initial_catalog = myDatabaseName
53    """
54    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26