use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.
the class DfPmbMetaData method getPropertyRefColumnInfo.
// -----------------------------------------------------
// Display
// -------
public String getPropertyRefColumnInfo(String propertyName, AppData schemaData) {
if (isRelatedToProcedure()) {
final DfProcedureColumnMeta metaInfo = getProcedureColumnInfo(propertyName);
return metaInfo != null ? ": {" + metaInfo.getColumnDefinitionLineDisp() + "}" : "";
}
final StringBuilder sb = new StringBuilder();
final String optionDisp = getPropertyOptionDisp(propertyName);
sb.append(optionDisp);
final String name = getPropertyRefName(propertyName, schemaData);
if (Srl.is_NotNull_and_NotTrimmedEmpty(name)) {
// basically normal parameter-bean
final String alias = getPropertyRefAlias(propertyName, schemaData);
final String lineDisp = getPropertyRefLineDisp(propertyName, schemaData);
sb.append(" :: refers to ").append(alias).append(name).append(": ").append(lineDisp);
}
return sb.toString();
}
use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.
the class DfPmbMetaData method needsOracleStructHandling.
public boolean needsOracleStructHandling(String propertyName) {
assertArgumentPmbMetaDataPropertyName(propertyName);
if (!getBasicProperties().isDatabaseOracle() || !getLittleAdjustmentProperties().isAvailableDatabaseNativeJDBC()) {
return false;
}
final DfProcedureColumnMeta metaInfo = getProcedureColumnInfo(propertyName);
return metaInfo != null && metaInfo.hasTypeStructInfo();
}
use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.
the class DfPmbMetaData method getProcedureParameterOracleArrayElementJavaNative.
public String getProcedureParameterOracleArrayElementJavaNative(String propertyName) {
assertArgumentPmbMetaDataPropertyName(propertyName);
final DfProcedureColumnMeta columnInfo = getProcedureColumnInfo(propertyName);
if (columnInfo != null && columnInfo.hasTypeArrayElementJavaNative()) {
return columnInfo.getTypeArrayInfo().getElementJavaNative();
}
// as default
return "Object";
}
use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.
the class DfPmbMetaData method needsObjectBindingBigDecimalHandling.
public boolean needsObjectBindingBigDecimalHandling(String propertyName) {
assertArgumentPmbMetaDataPropertyName(propertyName);
final DfProcedureColumnMeta metaInfo = getProcedureColumnInfo(propertyName);
return metaInfo != null && _columnHandler.isConceptTypeObjectBindingBigDecimal(metaInfo.getDbTypeName());
}
use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.
the class DfPmbMetaData method getProcedureParameterOracleStructEntityType.
public String getProcedureParameterOracleStructEntityType(String propertyName) {
assertArgumentPmbMetaDataPropertyName(propertyName);
final DfProcedureColumnMeta columnInfo = getProcedureColumnInfo(propertyName);
if (columnInfo != null && columnInfo.hasTypeStructEntityType()) {
return columnInfo.getTypeStructInfo().getEntityType();
}
// as default
return "Object";
}
Aggregations