Update of /cvsroot/squirrel-sql/sql12/test/src/net/sourceforge/squirrel_sql/fw/sql
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv27173/test/src/net/sourceforge/squirrel_sql/fw/sql
Modified Files:
MockTableInfo.java
Log Message:
DBCopy now analyzes FKs to be copied and skips them if they already exist in destination database.
Index: MockTableInfo.java
===================================================================
RCS file: /cvsroot/squirrel-sql/sql12/test/src/net/sourceforge/squirrel_sql/fw/sql/MockTableInfo.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MockTableInfo.java 14 Jan 2007 23:17:39 -0000 1.2
--- MockTableInfo.java 20 Feb 2007 00:05:44 -0000 1.3
***************
*** 71,74 ****
--- 71,106 ----
public ITableInfo[] getChildTables() {
return childTables;
+ }
+
+ /* (non-Javadoc)
+ * @see net.sourceforge.squirrel_sql.fw.sql.ITableInfo#getExportedKeys()
+ */
+ public ForeignKeyInfo[] getExportedKeys() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see net.sourceforge.squirrel_sql.fw.sql.ITableInfo#getImportedKeys()
+ */
+ public ForeignKeyInfo[] getImportedKeys() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see net.sourceforge.squirrel_sql.fw.sql.ITableInfo#setExportedKeys(net.sourceforge.squirrel_sql.fw.sql.ForeignKeyInfo[])
+ */
+ public void setExportedKeys(ForeignKeyInfo[] foreignKeys) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see net.sourceforge.squirrel_sql.fw.sql.ITableInfo#setImportedKeys(net.sourceforge.squirrel_sql.fw.sql.ForeignKeyInfo[])
+ */
+ public void setImportedKeys(ForeignKeyInfo[] foreignKeys) {
+ // TODO Auto-generated method stub
+
}
|