Package org.dbunit.util.search

Examples of org.dbunit.util.search.IEdge


                // set the schema in front if there is none ("SCHEMA.TABLE") - depending on the "qualified table names" feature
              tableName = new QualifiedTableName(tableName, schema).getQualifiedNameIfEnabled(dbConfig);
              dependentTableName = new QualifiedTableName(dependentTableName, dependentSchemaName).getQualifiedNameIfEnabled(dbConfig);
               
                IEdge edge = newEdge(rs, type, tableName, dependentTableName, fkColumn, pkColumn );
                if ( logger.isDebugEnabled() ) {
                    logger.debug("Adding edge " + edge);
                }
                edges.add(edge);
            }
View Full Code Here


      while (rs.next()) {
        int index = TABLENAME_INDEXES[type];
        String dependentTableName = rs.getString(index);
        String pkColumn = rs.getString( PK_INDEXES[type] );
        String fkColumn = rs.getString( FK_INDEXES[type] );
        IEdge edge = newEdge(rs, type, tableName, dependentTableName, fkColumn, pkColumn );
        if ( super.logger.isDebugEnabled() ) {
          super.logger.debug("Adding edge " + edge);
        }
        edges.add(edge);
      }
View Full Code Here

TOP

Related Classes of org.dbunit.util.search.IEdge

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.