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

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

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

Record.setTableNames介绍

暂无

代码示例

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

/**
 * Override this to open the main file.
 * <p />You should pass this record owner to the new main file (ie., new MyNewTable(thisRecordOwner)).
 * @return The new record.
 */
public Record openMainRecord()
{
  Record record = new OTACode();
  record.setTableNames("CDT");
  record.init(this);
  return record;
}
/**

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

/**
 * OpenMergeRecord Method.
 */
public Record openMergeRecord()
{
  String code = this.getProperty("code");
  if (code != null)
  {    // Always
    Record record = new OTACode();
    record.setTableNames(code);
    record.init(this);
    return record;
  }
  return super.openMergeRecord();
}
/**

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

if ((!strTableName.equalsIgnoreCase(record.getTableNames(false))))
      if ((record.getDatabaseType() & DBConstants.MAPPED) != 0)
        record.setTableNames(strTableName);
if (databaseName != null)
  if (!databaseName.equalsIgnoreCase(record.getDatabaseName()))

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

if ((!strTableName.equalsIgnoreCase(record.getTableNames(false))))
      if ((record.getDatabaseType() & DBConstants.MAPPED) != 0)
        record.setTableNames(strTableName);
if (databaseName != null)
  if (!databaseName.equalsIgnoreCase(record.getDatabaseName()))

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

if ((!strTableName.equalsIgnoreCase(record.getTableNames(false))))
      if ((record.getDatabaseType() & DBConstants.MAPPED) != 0)
        record.setTableNames(strTableName);
if (databaseName != null)
  if (!databaseName.equalsIgnoreCase(record.getDatabaseName()))

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

Class<?> className = record.getClass().getSuperclass();
record = Record.makeRecordFromClassName(className.getName(), record.getRecordOwner());
record.setTableNames(tableName);
table = record.getTable();

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

if (properties != null)
  if (properties.get(RecordMessageConstants.TABLE_NAME) != null)
    record.setTableNames((String)properties.get(RecordMessageConstants.TABLE_NAME));

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

recCity2.setTableNames(City.CITY_FILE);
((ReferenceField)recProduct.getField(TransportProduct.TO_CITY_ID)).setReferenceRecord(recCity2);
((ReferenceField)recProduct.getField(TransportProduct.TO_CITY_ID)).getReference();
((ReferenceField)recProduct.getField(TransportProduct.TO_CITY_ID)).setReferenceRecord(null);                   
recCity2.setTableNames("To" + recCity2.getTableNames(false));

代码示例来源:origin: com.tourapp.tour/com.tourapp.tour.booking.report

recCity2.setTableNames(City.CITY_FILE);
((ReferenceField)recProduct.getField(TransportProduct.TO_CITY_ID)).setReferenceRecord(recCity2);
((ReferenceField)recProduct.getField(TransportProduct.TO_CITY_ID)).getReference();
((ReferenceField)recProduct.getField(TransportProduct.TO_CITY_ID)).setReferenceRecord(null);                   
recCity2.setTableNames("To" + recCity2.getTableNames(false));

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

this.getRecord().setTableNames(tableName + TEMP_SUFFIX);
    this.getRecord().setTableNames(tableName);
  int oldOpenMode = this.getRecord().getOpenMode();
  this.getRecord().setOpenMode(oldOpenMode | DBConstants.OPEN_DONT_CREATE);
} finally {
  if (tableName != null)
    this.getRecord().setTableNames(tableName);

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

this.getRecord().setTableNames(tableName + "_temp");
    this.getRecord().setTableNames(tableName);
  int oldOpenMode = this.getRecord().getOpenMode();
  this.getRecord().setOpenMode(oldOpenMode | DBConstants.OPEN_DONT_CREATE);
} finally {
  if (tableName != null)
    this.getRecord().setTableNames(tableName);

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

this.getRecord().setTableNames(tableName + "_temp");
    this.getRecord().setTableNames(tableName);
  int oldOpenMode = this.getRecord().getOpenMode();
  this.getRecord().setOpenMode(oldOpenMode | DBConstants.OPEN_DONT_CREATE);
} finally {
  if (tableName != null)
    this.getRecord().setTableNames(tableName);

相关文章

微信公众号

最新文章

更多

Record类方法