org.jbundle.base.db.Record.setAutoSequence()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(71)

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

Record.setAutoSequence介绍

[英]Does this fieldlist have a primary key that is auto-sequence. This can be turned off (in thick) by setting table.setProperty(AUTO_SEQUENCE_KEY, FALSE), which is primarily used to restore an archive with changing the autosequenced values. In this is is okay to set this, although usually only set by system functions.
[中]此字段列表是否有自动排序的主键。这可以通过设置表格来关闭。setProperty(AUTO_SEQUENCE_KEY,FALSE),主要用于通过更改autosequenced值来恢复存档。在这种情况下,可以设置它,尽管通常只由系统功能设置。

代码示例

代码示例来源:origin: org.jbundle.base/org.jbundle.base

boolean bIsAutoSequence = record2.setAutoSequence(false);
this.copyRecord(record2, record);
try {
  throw ex;
} finally {
  record2.setAutoSequence(bIsAutoSequence);

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

boolean bIsAutoSequence = record2.setAutoSequence(false);
this.copyRecord(record2, record);
try {
  throw ex;
} finally {
  record2.setAutoSequence(bIsAutoSequence);

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

boolean bIsAutoSequence = record2.setAutoSequence(false);
this.copyRecord(record2, record);
try {
  throw ex;
} finally {
  record2.setAutoSequence(bIsAutoSequence);

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

boolean bIsAutoSequence = record2.setAutoSequence(false);
this.copyRecord(record2, record);
try {
  throw ex;
} finally {
  record2.setAutoSequence(bIsAutoSequence);

代码示例来源:origin: org.jbundle.base/org.jbundle.base

boolean bIsAutoSequence = record2.setAutoSequence(false);
this.copyRecord(record2, record);
try {
  throw ex;
} finally {
  record2.setAutoSequence(bIsAutoSequence);

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

boolean bIsAutoSequence = record2.setAutoSequence(false);
this.copyRecord(record2, record);
try {
  throw ex;
} finally {
  record2.setAutoSequence(bIsAutoSequence);

代码示例来源:origin: com.tourgeek.tour/com.tourgeek.tour.util

if (recDest.getCounterField().isNull())
  recDest.setAutoSequence(false);  // Disable autoseq temporarily
  recDest.getField(Currencys.ID).moveFieldToThis(recSource.getField("Numeric code"));
  recDest.add();
  recDest.setKeyArea(Currencys.ID_KEY);
  recDest.seek(DBConstants.EQUALS);
  recDest.setAutoSequence(true);

相关文章

微信公众号

最新文章

更多

Record类方法