本文整理了Java中org.jbundle.thin.base.db.FieldList.setOpenMode()
方法的一些代码示例,展示了FieldList.setOpenMode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FieldList.setOpenMode()
方法的具体详情如下:
包路径:org.jbundle.thin.base.db.FieldList
类名称: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++)
内容来源于网络,如有侵权,请联系作者删除!