private Table createTable(Connection conn, ResultSet rs) throws SQLException {
		String tableName = rs.getString("TABLE_NAME");
		String tableType = rs.getString("TABLE_TYPE");
		String remarks = rs.getString("REMARKS");
		if (StringUtil.isNullOrEmpty(remarks)) {
			String sql = "select TABLE_COMMENT from information_schema.tables where table_name='" + tableName + "'";// add
			// MySQL数据库获取表的注释,ORACLE不需要
			try {
				PreparedStatement stm = conn.prepareStatement(sql);
				ResultSet res = stm.executeQuery();
				while (res.next()) {
					remarks = res.getString("TABLE_COMMENT");
					if (!"".equals(remarks))
						break;
				}
			} catch (Exception e) {
			}
		}
		Table table = new Table();
		table.setTableName(tableName);
		table.setTableRemark(remarks);
		if ("SYNONYM".equals(tableType) && isOracleDataBase()) {
			table.setOwnerSynonymName(getSynonymOwner(tableName));
		}

		table.initExportedKeys(conn.getMetaData());
		table.initImportedKeys(conn.getMetaData());

		retriveTableColumns(table);

		return table;
	}