protected MetaModel(String dbName, Class<? extends Model> modelClass, String dbType) { this.modelClass = modelClass; this.idName = findIdName(modelClass); this.compositeKeys = findCompositeKeys(modelClass); this.tableName = findTableName(modelClass); this.dbType = dbType; this.cached = isCached(modelClass); this.dbName = dbName; this.idGeneratorCode = findIdGeneratorCode(modelClass); this.versionColumn = findVersionColumn(modelClass); this.partitionIDs = findPartitionIDs(); }
protected MetaModel(String dbName, Class<? extends Model> modelClass, String dbType) { this.modelClass = modelClass; this.idName = findIdName(modelClass); this.tableName = findTableName(modelClass); this.dbType = dbType; this.cached = isCached(modelClass); this.dbName = dbName; this.idGeneratorCode = findIdGeneratorCode(modelClass); this.versionColumn = findVersionColumn(modelClass); }
protected MetaModel(String dbName, Class<? extends Model> modelClass, String dbType) { this.modelClass = modelClass; this.idName = findIdName(modelClass); this.compositeKeys = findCompositeKeys(modelClass); this.tableName = findTableName(modelClass); this.dbType = dbType; this.cached = isCached(modelClass); this.dbName = dbName; this.idGeneratorCode = findIdGeneratorCode(modelClass); this.versionColumn = findVersionColumn(modelClass); this.partitionIDs = findPartitionIDs(); }
protected MetaModel(String dbName, Class<? extends Model> modelClass, String dbType) { this.modelClass = modelClass; this.idName = findIdName(modelClass); this.compositeKeys = findCompositeKeys(modelClass); this.tableName = findTableName(modelClass); this.dbType = dbType; this.cached = isCached(modelClass); this.dbName = dbName; this.idGeneratorCode = findIdGeneratorCode(modelClass); this.versionColumn = findVersionColumn(modelClass); this.partitionIDs = findPartitionIDs(); }