Examples of moveToNextValue()


Examples of com.j256.ormlite.field.FieldType.moveToNextValue()

      Object versionDefaultValue = null;
      // implement {@link DatabaseField#version()}
      if (versionFieldTypeIndex >= 0 && args[versionFieldTypeIndex] == null) {
        // if the version is null then we need to initialize it before create
        FieldType versionFieldType = argFieldTypes[versionFieldTypeIndex];
        versionDefaultValue = versionFieldType.moveToNextValue(null);
        args[versionFieldTypeIndex] = versionFieldType.convertJavaFieldToSqlArgValue(versionDefaultValue);
      }

      int rowC;
      try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.