Index: src/ref/crefjavstateautogen.dita =================================================================== --- src/ref/crefjavstateautogen.dita (revision 629500) +++ src/ref/crefjavstateautogen.dita (working copy) @@ -42,13 +42,13 @@
  • An array of the names of the columns in the inserted row that should be made available. If any column name in the array does not designate an auto-increment column, -will throw an error. (This argument is supported only with the embedded -driver.)
  • +will throw an error with the embedded +driver. With the client driver, the one element column name is ignored currently and the value returned corresponds to the identity column. To ensure compatibility with future changes an application should ensure the column described is the identity column. If the column name corresponds to another column or a non-existent column then future changes may result in a value for a different column being returned or an exception being thrown.
  • An array of the positions of the columns in the inserted row that should be made available. If any column position in the array does not correlate to an auto-increment column, will -throw an error. (This argument is supported only with the embedded -driver.)
  • +throw an error with the embedded +driver. With the client driver, the one element position array is ignored currently and the value returned corresponds to the identity column. To ensure compatibility with future changes an application should ensure the column described is the identity column. If the position corresponds to another column or a non-existent column then future changes may result in a value for a different column being returned or an exception being thrown.
    Example

    Assume that we have a table TABLE1 defined as follows:

    CREATE TABLE TABLE1 (C11 int, C12 int GENERATED ALWAYS AS IDENTITY)