String dirtyVar = "__caucho_dirtyMask_" + dirtyGroup;
long dirtyMask = 1L << (getIndex() % 64);
String getter = generateSuperGetter("this");
AmberType type = getColumn().getType();
// jpa/0x02
out.println();
out.println("if (" + generateIsNull() + ")");
if (type.getJavaTypeName().equals(Timestamp.class.getName()))
out.println(" " + generateSuperSetter("this", "new java.sql.Timestamp(com.caucho.util.Alarm.getExactTime())") + ";");
else
out.println(" " + generateSuperSetter("this", "new Integer(1)") + ";");
out.println("else");
out.println(" " + generateSuperSetter("this", type.generateIncrementVersion(getter)) + ";");
out.println();
out.println("long oldMask = " + dirtyVar + ";");
out.println(dirtyVar + " |= " + dirtyMask + "L;");
out.println();