[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/ preparing 1.0.0

Andreas Jung andreas at andreas-jung.com
Sat May 5 02:51:49 EDT 2007


Log message for revision 75485:
  preparing 1.0.0

Changed:
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt	2007-05-05 06:44:23 UTC (rev 75484)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt	2007-05-05 06:51:49 UTC (rev 75485)
@@ -1,3 +1,10 @@
+1.0.0 (05.05.2007)
+
+   - source code polishing
+   
+   - documentation update
+
+
 0.1.13 (05.05.2007)
 
    - sessions were returned from the wrong cache

Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt	2007-05-05 06:44:23 UTC (rev 75484)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt	2007-05-05 06:51:49 UTC (rev 75485)
@@ -129,7 +129,21 @@
    > wrapper = createSAWrapper('postgres://postgres:postgres@host/someDB', model=model)
    > AMapper= wrapper.getMapper('A')  # AMapper will be an instance of MyAMapper
 
+When you are working with wrapper in a Zope 2/3 environment you are usually
+interested to to register a wrapper instance as named utility implementing
+ISQLAlchemyWrapper. You can can perform the registration lazily by passing the
+name utility as 'name' parameter to the createSAWrapper(...,
+name='my.postgres.test.db') method.
 
+A convenience method for obtaining a wrapper instance by name is available
+through getSAWrapper:
+
+   > createSAWrapper(dsn,..., name='my.name')
+   > ...
+   > wrapper = getSAWrapper('my.name')
+
+
+
 Supported systems
 =================
 z3c.sqlalchemy was developed with Zope 2.8/Zope 3.0 and basically tested against

Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt	2007-05-05 06:44:23 UTC (rev 75484)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt	2007-05-05 06:51:49 UTC (rev 75485)
@@ -1 +1 @@
-0.1.13
+1.0.0



More information about the Checkins mailing list