Opened 14 years ago

Closed 14 years ago

#126 closed enhancement (fixed)

Database config - other - select MapContext, Application and Session by name

Reported by: adube Owned by:
Priority: minor Milestone:
Component: server Version:
Keywords: Cc:

Description

Currently, the only way to select the current MapContext, Application or Session is using the according 'setCurrent' config method. It uses the id.

It would be nice to be able to set these using their name. That would require to do an extra query to get the according id. Each object would need its new 'set' method and the according 'name' fields (in the database) would need to have indexes created.

Change History (1)

comment:1 by adube, 14 years ago

Resolution: fixed
Status: newclosed

r858, featuring :

  • new PGSQLMapContextConfig 'set' methods :
    • setCurrentSessionName
    • setCurrentMapContextName
    • setCurrentApplicationName
  • documentation about these methods added to documentation
  • pgsqlconfig sample adjusted to use these methods
  • 'getRecords' method changed accordingly to support 'singleRecordName' option

Fixed.

Note: See TracTickets for help on using tickets.