org.jbundle.thin.base.db.FieldList.setOpenMode()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(195)

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

FieldList.setOpenMode介绍

[英]Set the current open mode for this record. Set this before you call Open.
[中]设置此记录的当前打开模式。在调用Open之前设置此选项。

代码示例

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

Object[] rgFieldListeners = null;
int iOldOpenMode = fieldList.getOpenMode();
fieldList.setOpenMode(DBConstants.OPEN_NORMAL);
try   {
  fieldList.setAutoSequence(false);  // Disable autoseq temporarily
  if (rgFieldListeners != null)
    ((Record)fieldList).setEnableFieldListeners(rgFieldListeners);
  fieldList.setOpenMode(iOldOpenMode);

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

Object[] rgFieldListeners = null;
int iOldOpenMode = fieldList.getOpenMode();
fieldList.setOpenMode(DBConstants.OPEN_NORMAL);
try   {
  fieldList.setAutoSequence(false);  // Disable autoseq temporarily
  if (rgFieldListeners != null)
    ((Record)fieldList).setEnableFieldListeners(rgFieldListeners);
  fieldList.setOpenMode(iOldOpenMode);

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

Object[] rgFieldListeners = null;
int iOldOpenMode = fieldList.getOpenMode();
fieldList.setOpenMode(DBConstants.OPEN_NORMAL);
try   {
  fieldList.setAutoSequence(false);  // Disable autoseq temporarily
  if (rgFieldListeners != null)
    ((Record)fieldList).setEnableFieldListeners(rgFieldListeners);
  fieldList.setOpenMode(iOldOpenMode);

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

this.setOpenMode(Constants.OPEN_REFRESH_TO_CURRENT | (iOldOpenMode/* & Constants.LOCK_TYPE_MASK*/)); // This is only trigger server listeners for changes
this.setOpenMode(iOldOpenMode);
buffer.resetPosition();
for (int iFieldSeq = 0; iFieldSeq < this.getFieldCount(); iFieldSeq++)

相关文章