Skip to content

Commit

Permalink
0003152: org.jumpmind.db.sql.SqlException: JZ0NK: Generated keys are not
Browse files Browse the repository at this point in the history
available because either the Statement.NO_GENERATED_KEYS was use
  • Loading branch information
jumpmind-josh committed Jun 23, 2017
1 parent d876b61 commit 9f6eee4
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -133,5 +133,13 @@ public void setValues(PreparedStatement ps, Object[] args)
setValues(ps, args, argTypes, getLobHandler().getDefaultHandler());
}
}

public boolean supportsGetGeneratedKeys() {
return false;
}

protected String getSelectLastInsertIdSql(String sequenceName) {
return "select @@identity";
}

}

0 comments on commit 9f6eee4

Please sign in to comment.