/[thuban]
ViewVC logotype

Revision 1607


Jump to revision: Previous Next
Author: bh
Date: Tue Aug 19 12:50:35 2003 UTC (21 years, 6 months ago)
Changed paths: 3
Log Message:
Add the db connection management to the session.

* Thuban/Model/session.py (Session.__init__): New instance
variable db_connections
(Session.AddDBConnection, Session.DBConnections)
(Session.HasDBConnections, Session.CanRemoveDBConnection)
(Session.RemoveDBConnection): New methods to manage and query the
db connections managed by the session
(Session.OpenDBShapeStore): New method to open a shapestore from a
db connection

* Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New
messages for the db connection handling in the session

* test/test_postgis_session.py: New. test cases for the session's
db connection handling with postgis connections


Changed paths

Path Details
Directorytrunk/thuban/Thuban/Model/messages.py modified , text changed
Directorytrunk/thuban/Thuban/Model/session.py modified , text changed
Directorytrunk/thuban/test/test_postgis_session.py added

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26