Search in sources :

Example 6 with DfProcedureColumnMeta

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());
}
Also used : DfProcedureColumnMeta(org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta)

Example 7 with DfProcedureColumnMeta

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";
}
Also used : DfProcedureColumnMeta(org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta)

Example 8 with DfProcedureColumnMeta

use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.

the class DfPmbMetaData method getProcedureParameterOracleArrayTypeName.

// -----------------------------------------------------
// Oracle Type
// -----------
public String getProcedureParameterOracleArrayTypeName(String propertyName) {
    assertArgumentPmbMetaDataPropertyName(propertyName);
    final DfProcedureColumnMeta columnInfo = getProcedureColumnInfo(propertyName);
    if (columnInfo != null && columnInfo.hasTypeArrayInfo()) {
        return columnInfo.getTypeArrayInfo().getTypeSqlName();
    }
    return "";
}
Also used : DfProcedureColumnMeta(org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta)

Example 9 with DfProcedureColumnMeta

use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.

the class DfPmbMetaData method needsStringClobHandling.

// -----------------------------------------------------
// Handling Determination
// ----------------------
public boolean needsStringClobHandling(String propertyName) {
    assertArgumentPmbMetaDataPropertyName(propertyName);
    final DfProcedureColumnMeta metaInfo = getProcedureColumnInfo(propertyName);
    return metaInfo != null && _columnHandler.isConceptTypeStringClob(metaInfo.getDbTypeName());
}
Also used : DfProcedureColumnMeta(org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta)

Example 10 with DfProcedureColumnMeta

use of org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta in project dbflute-core by dbflute.

the class DfPmbMetaData method getProcedureParameterOracleArrayElementTypeName.

public String getProcedureParameterOracleArrayElementTypeName(String propertyName) {
    assertArgumentPmbMetaDataPropertyName(propertyName);
    final DfProcedureColumnMeta columnInfo = getProcedureColumnInfo(propertyName);
    if (columnInfo != null && columnInfo.hasTypeArrayInfo()) {
        return columnInfo.getTypeArrayInfo().getElementType();
    }
    return "";
}
Also used : DfProcedureColumnMeta(org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta)

Aggregations

DfProcedureColumnMeta (org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta)27 DfProcedureColumnType (org.dbflute.logic.jdbc.metadata.info.DfProcedureColumnMeta.DfProcedureColumnType)5 DfProcedureMeta (org.dbflute.logic.jdbc.metadata.info.DfProcedureMeta)5 LinkedHashSet (java.util.LinkedHashSet)2 DfProcedureNotParamResultMeta (org.dbflute.logic.jdbc.metadata.info.DfProcedureNotParamResultMeta)2 CallableStatement (java.sql.CallableStatement)1 Connection (java.sql.Connection)1 ResultSet (java.sql.ResultSet)1 SQLException (java.sql.SQLException)1 HashSet (java.util.HashSet)1 UnifiedSchema (org.apache.torque.engine.database.model.UnifiedSchema)1 DfProcedureExecutionMetaGettingFailureException (org.dbflute.exception.DfProcedureExecutionMetaGettingFailureException)1 ExceptionMessageBuilder (org.dbflute.helper.message.ExceptionMessageBuilder)1 DfColumnMeta (org.dbflute.logic.jdbc.metadata.info.DfColumnMeta)1 DfProcedureArgumentInfo (org.dbflute.logic.jdbc.metadata.info.DfProcedureArgumentInfo)1 DfProcedureType (org.dbflute.logic.jdbc.metadata.info.DfProcedureMeta.DfProcedureType)1 DfTypeArrayInfo (org.dbflute.logic.jdbc.metadata.info.DfTypeArrayInfo)1 DfTypeStructInfo (org.dbflute.logic.jdbc.metadata.info.DfTypeStructInfo)1 DfPmbMetaData (org.dbflute.logic.sql2entity.pmbean.DfPmbMetaData)1 DfOutsideSqlProperties (org.dbflute.properties.DfOutsideSqlProperties)1