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