Implement DbControl.flush() method
This method should flush queued changes to the database in the same manner as commit() except that the transaction should not be committed. This would make it possible to bridge the gap between the regular DbControl:ed items and the batch controlled items. For example, in the current implementation it is not possible to create a RawBioAssay and add raw data to it in the same transaction since there is no way to send the RawBioAssay to the database without calling commit() and it is not possible to use the raw data batcher unless the RawBioAssay is in the database.
Change History
(5)
Owner: |
changed from everyone to Nicklas Nordborg
|
Status: |
new → assigned
|
Milestone: |
BASE 2.4 → BASE 2.x+
|
Owner: |
Nicklas Nordborg removed
|
Status: |
assigned → new
|
Milestone: |
BASE 2.x+ → BASE 3.0
|
Resolution: |
→ wontfix
|
Status: |
new → closed
|
Milestone: |
BASE Future Release
|
I had a go to implement this, but it turned out to be a lot more difficult than expected:
So, I am moving this ticket to the future. I think we need to have ticket:185 in place before the flush() method can be implemented.