1 22 23 package org.xquark.extractor.progress.sql; 24 25 import org.xquark.extractor.sql.Context; 26 27 public class SqlTable extends org.xquark.extractor.sql.SqlTable 28 { 29 30 private static final String RCSRevision = "$Revision: 1.3 $"; 31 private static final String RCSName = "$Name: $"; 32 33 34 public SqlTable() { 35 } 36 37 public SqlTable(String name) { 38 super(name); 39 } 40 41 public SqlTable(String catalogName, String schemaName, String tableName) { 42 super(catalogName, schemaName, tableName); 43 } 44 45 public String toSql(Context context) { 46 String retVal = null; 47 if (null == getCatalogName() && null == getSchemaName() && getName().equalsIgnoreCase("dual")) { 48 retVal = "dual"; 49 } 50 else { 51 retVal = super.toSql(context); 52 } 53 return retVal; 54 } 55 } 56 | Popular Tags |