Examples of PLSQLrecord


Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

                    if (!typeStack.isEmpty()) {
                        DatabaseType topMinus1 = typeStack.peek();
                        if (topMinus1.isComplexDatabaseType()) {
                            ComplexDatabaseType cdtMinus1 = (ComplexDatabaseType)topMinus1;
                            if (cdtMinus1.isRecord()) {
                                PLSQLrecord recMinus1 = (PLSQLrecord)cdtMinus1;
                                PLSQLargument arg = null;
                                for (Iterator<PLSQLargument> i = recMinus1.getFields().iterator(); i.hasNext();) {
                                    arg = i.next();
                                    if (arg.name.equalsIgnoreCase(fieldName)) {
                                        break;
                                    }
                                }
View Full Code Here

Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

               
                if (typeMetadata != null) {
                    return typeMetadata.process();
                }
               
                PLSQLrecord record = new PLSQLrecord();
                record.setTypeName(type);
                return record;
            }
        }
    }
View Full Code Here

Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

                ComplexTypeMetadata typeMetadata = getProject().getComplexTypeMetadata(type);
                if (typeMetadata != null) {
                    return typeMetadata.process();
                }
               
                PLSQLrecord record = new PLSQLrecord();
                record.setTypeName(type);
                return record;
            }
        }
    }
View Full Code Here

Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

               
                if (typeMetadata != null) {
                    return typeMetadata.process();
                }
               
                PLSQLrecord record = new PLSQLrecord();
                record.setTypeName(type);
                return record;
            }
        }
    }
View Full Code Here

Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

    /**
     * INTERNAL:
     * Build a runtime record type from the meta-data.
     */
    public PLSQLrecord process() {
        PLSQLrecord record = new PLSQLrecord();
        super.process(record);
       
        for (PLSQLParameterMetadata field : this.fields) {
            PLSQLargument argument = new PLSQLargument();
            argument.name = field.getName();
            argument.databaseType = getDatabaseTypeEnum(field.getDatabaseType());
           
            if (field.getLength() != null) {
                argument.length = field.getLength();
            }
           
            if (field.getPrecision() != null) {
                argument.precision = field.getPrecision();
            }
           
            if (field.getScale() != null) {
                argument.scale = field.getScale();
            }
           
            record.addField(argument);
        }
       
        return record;
    }
View Full Code Here

Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

    /**
     * INTERNAL:
     * Build a runtime record type from the meta-data.
     */
    public PLSQLrecord process() {
        PLSQLrecord record = new PLSQLrecord();
        super.process(record);
       
        for (PLSQLParameterMetadata field : this.fields) {
            PLSQLargument argument = new PLSQLargument();
            argument.name = field.getName();
            argument.databaseType = getDatabaseTypeEnum(field.getDatabaseType());
           
            if (field.getLength() != null) {
                argument.length = field.getLength();
            }
           
            if (field.getPrecision() != null) {
                argument.precision = field.getPrecision();
            }
           
            if (field.getScale() != null) {
                argument.scale = field.getScale();
            }
           
            record.addField(argument);
        }
       
        return record;
    }
View Full Code Here

Examples of org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord

                ComplexTypeMetadata typeMetadata = getProject().getComplexTypeMetadata(type);
                if (typeMetadata != null) {
                    return typeMetadata.process();
                }
               
                PLSQLrecord record = new PLSQLrecord();
                record.setTypeName(type);
                return record;
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.