Exemple #1
0
 void setNewAutoIncrementValue(Expression obj) throws Exception {
   if (identity) {
     counter.setNextValue(obj);
   }
 }
Exemple #2
0
 /**
  * Return the default expression for this column. If there is no default vale then it return
  * Expression.NULL.
  *
  * @param con SSConnection for transactions
  */
 Expression getDefaultValue(SSConnection con) throws SQLException {
   if (identity) counter.createNextValue(con);
   return defaultValue;
 }