Package org.apache.tuscany.das.rdb.config

Examples of org.apache.tuscany.das.rdb.config.KeyPair


        if (this.logger.isDebugEnabled()) {
            this.logger.debug("Created relationship from " + r.getPrimaryKeyTable()
                    + " to " + r.getForeignKeyTable() + " named " + r.getName());
        }
       
        KeyPair pair = null;
       
        for(int i=0; i<parentColumns.size(); i++){
            pair = FACTORY.createKeyPair();
            pair.setPrimaryKeyColumn(((QualifiedColumn)parentColumns.get(i)).getColumnName());
            pair.setForeignKeyColumn(((QualifiedColumn)childColumns.get(i)).getColumnName());
            r.getKeyPair().add(pair);
        }
       
        r.setMany(true);
        config.getRelationship().add(r);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.das.rdb.config.KeyPair

Copyright © 2018 www.massapicom. 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.