org.springframework.data.annotation.Version类的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(88)

本文整理了Java中org.springframework.data.annotation.Version类的一些代码示例,展示了Version类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version类的具体详情如下:
包路径:org.springframework.data.annotation.Version
类名称:Version

Version介绍

暂无

代码示例

代码示例来源:origin: kaaproject/kaa

@Field(EP_SPECIFIC_CONFIGURATION_CONFIGURATION)
private String configuration;
@Version
@Field(EP_SPECIFIC_CONFIGURATION_CONFIGURATION_VERSION)
private Long version;

代码示例来源:origin: kaaproject/kaa

@Field(EP_USER_ENDPOINT_IDS)
private List<String> endpointIds;
@Version
@Field(OPT_LOCK)
private Long version;

代码示例来源:origin: kaaproject/kaa

@Field(EP_USE_RAW_SCHEMA)
private Boolean useConfigurationRawSchema;
@Version
@Field(OPT_LOCK)
private Long version;

代码示例来源:origin: pl.edu.icm.crpd/crpd-persistence

/** used for optimistic locking */
@Version
public Integer getVersion() {
  return this.version;
}

代码示例来源:origin: org.jspresso.hrsample/hrsample-core

/**
 * Gets the version.
 *
 * @hibernate.version
 *           unsaved-value = "null"
 *           column = "VERSION"
 *           type = "integer"
 * @hibernate.column
 *           name = "VERSION"
 *           precision = "11"
 * @return the version.
 */
@org.springframework.data.annotation.Version
java.lang.Integer getVersion();

代码示例来源:origin: org.jspresso.hrsample/hrsample-core

/**
 * Gets the version.
 *
 * @hibernate.version
 *           unsaved-value = "null"
 *           column = "VERSION"
 *           type = "integer"
 * @hibernate.column
 *           name = "VERSION"
 *           precision = "11"
 * @return the version.
 */
@org.springframework.data.annotation.Version
java.lang.Integer getVersion();

代码示例来源:origin: org.jspresso.hrsample/hrsample-core

/**
 * Gets the version.
 *
 * @hibernate.version
 *           unsaved-value = "null"
 *           column = "VERSION"
 *           type = "integer"
 * @hibernate.column
 *           name = "VERSION"
 *           precision = "11"
 * @return the version.
 */
@org.springframework.data.annotation.Version
java.lang.Integer getVersion();

代码示例来源:origin: org.jspresso.hrsample/hrsample-core

/**
 * Gets the version.
 *
 * @hibernate.version
 *           unsaved-value = "null"
 *           column = "VERSION"
 *           type = "integer"
 * @hibernate.column
 *           name = "VERSION"
 *           precision = "11"
 * @return the version.
 */
@org.springframework.data.annotation.Version
java.lang.Integer getVersion();

代码示例来源:origin: org.jspresso.hrsample/hrsample-core

/**
 * Gets the version.
 *
 * @hibernate.version
 *           unsaved-value = "null"
 *           column = "VERSION"
 *           type = "integer"
 * @hibernate.column
 *           name = "VERSION"
 *           precision = "11"
 * @return the version.
 */
@org.springframework.data.annotation.Version
java.lang.Integer getVersion();

代码示例来源:origin: org.jspresso.hrsample/hrsample-core

/**
 * Gets the version.
 *
 * @hibernate.version
 *           unsaved-value = "null"
 *           column = "VERSION"
 *           type = "integer"
 * @hibernate.column
 *           name = "VERSION"
 *           precision = "11"
 * @return the version.
 */
@org.springframework.data.annotation.Version
java.lang.Integer getVersion();

代码示例来源:origin: microcks/microcks

@Version
Long version;
private Long testNumber;

代码示例来源:origin: jaibeermalik/searchanalytics-bigdata

@Version
private Long version;

代码示例来源:origin: jaibeermalik/searchanalytics-bigdata

@Version
private Long version;

代码示例来源:origin: rolandkrueger/user-microservice

public class Authority implements GrantedAuthority {
  private Long id;
  @Version
  Long version;
  @LastModifiedDate

代码示例来源:origin: SpringDataElasticsearchDevs/spring-data-elasticsearch-sample-application

private String name;
private Long price;
@Version
private Long version;

代码示例来源:origin: naturalprogrammer/spring-lemon

private Date lastModifiedDate;
@Version
private Long version;

代码示例来源:origin: com.jtbdevelopment.core-games/games

implements Game<ID, Instant, FEATURES>, Serializable {
@Version
private Integer version;
@CreatedDate

代码示例来源:origin: rolandkrueger/user-microservice

public class User implements UserDetails, Identifiable<Long> {
  private Long id;
  @Version
  Long version = 1L;
  @LastModifiedDate

代码示例来源:origin: io.interface21/ameba-lib

@Version
@Field(FIELD_OL_VERSION)
private long ol;

相关文章