Package mydatagenerator.model.bean

Examples of mydatagenerator.model.bean.TableFKconstraintsBean


         String parentColumnName = tableFKResultset.getString("COLUMN_NAME"); //the column that is FK in the input table (ie parent column)
        
         String childTableName =  tableFKResultset.getString("REFERENCED_TABLE_NAME"); //the referenced table
         String childColumnName = tableFKResultset.getString("REFERENCED_COLUMN_NAME"); //the child column referenced by the FK       
     
         TableFKconstraintsBean tableFKconstraintsBean = new TableFKconstraintsBean()
        
         tableFKconstraintsBean.setParentTableName(parentTableName)//the parent table
         tableFKconstraintsBean.setParentColumnName(parentColumnName);//the parentColumn
        
         tableFKconstraintsBean.setReferencedTableName(childTableName);
         tableFKconstraintsBean.setReferencedColumnName(childColumnName);
        
         tableFKinfoBeanList.add(tableFKconstraintsBean);
      }   
     
    }catch (Exception e) {
View Full Code Here

TOP

Related Classes of mydatagenerator.model.bean.TableFKconstraintsBean

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.