Skip to content

Commit

Permalink
tilda upsert migration (3) #70
Browse files Browse the repository at this point in the history
updating API for new tilda upsert capability
  • Loading branch information
ldhasson committed Dec 1, 2024
1 parent cf16702 commit 5d98b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wanda/data/importers/people/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ public int write(Connection C)

_User.setPswdCreateNow();

if (_User.upsert(C, true) == false)
if (_User.upsert(C) == false)
throw new Exception("Cannot write User record");
_User.refresh(C); // to get the refnum if the row was updated from the DB.
++Count;

if (_Detail != null)
{
_Detail.initUserRefnum(_User.getRefnum());
if (_Detail.upsert(C, true) == false)
if (_Detail.upsert(C) == false)
throw new Exception("Cannot upsert UserDetail record");
++Count;
}
Expand Down

0 comments on commit 5d98b9f

Please sign in to comment.