Merge lp:~allenap/storm/adapt-sqlobject-to-storm into lp:storm
Proposed by
James Henstridge
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~allenap/storm/adapt-sqlobject-to-storm |
Merge into: | lp:storm |
Diff against target: | 185 lines |
To merge this branch: | bzr merge lp:~allenap/storm/adapt-sqlobject-to-storm |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Approve | ||
James Henstridge | Approve | ||
Review via email: mp+4197@code.launchpad.net |
To post a comment you must log in.
From the associated bug report, Gavin said:
In Launchpad, because we use both the native Storm API and have lots of older code using the SQLObject shim, we sometimes need to get at the underlying Storm ResultSet from an SQLObjectResultSet. That's possible via so_result_ set._result_ set, but it's not a public interface. It also doesn't play well in our Zope environment where result sets are always wrapped in security proxies.
For a Zope environment, one proposed solution (from Francis Lacoste) is to create a trusted adapter from ISQLObjectResultSet to IResultSet.