The Open Anzo Project

Semantic Application Middleware

Ticket #442 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Closed DB connection when populating literal retrieved from text match search

Reported by: lee Assigned to: mroy
Priority: minor Milestone: 3.0 milestone2
Component: openanzo Version: 3.0
Keywords: Cc: mroy

Description

Running against a Postgres database, literals are sometimes returned from a text match search without being populated, and then their connection is closed before their value is needed. When the literal's value is later needed, an RdbException? is thrown because the connection is closed.

In cases in which literals are returned and not populated within the same context, an option should be set to force their value to be prepopulated, as is already done in the ServerSolutionGenerator?.

Change History

08/03/08 18:03:55 changed by lee

(In [2874]) re #442

pass a prepopulate flag in from ServerSolutionGenerator? to make sure literals returned from the indexing service have been populated for joining with other results, even after their connections are closed.

reviewer: mroy

08/03/08 18:04:37 changed by lee

  • owner changed from lee to mroy.

Matt, please review and close at your convenience.

08/25/08 09:34:50 changed by mroy

  • status changed from new to closed.
  • resolution set to fixed.

Looks good

Copyright © 2007 - 2008 OpenAnzo.org