Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #1408 (closed)

Opened 15 years ago

Closed 15 years ago

Use save() rather than merge() for optimizing metadata import

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.1
Component: General Keywords: n.a.
Cc: cxallan Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

Description

With some work, the method LocalUpdate.saveAndReturnIds() could be used only issue INSERTs and no UPDATEs during import

Change History (3)

comment:1 Changed 15 years ago by jmoore

r4601 has initial implementation work.

comment:2 Changed 15 years ago by cxallan

r4608 has initial usage for the most INSERT heavy method of the import process.

comment:3 Changed 15 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

IUpdate.saveAndReturnIds() works well but note that the ids of the returned values may not be in order. Updated API docs r5216

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64674 sec.)

We're Hiring!