有关JDBC的使用一些编程实例,有关与数据库连接的代码

源代码在线查看: tscolumn.java

软件大小: 195 K
上传用户: princessmeng
关键词: JDBC 编程实例 数据库 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*				 *				 * tsColumn.java 				 *				 * Copyright 1996, Brian C. Jepson				 *                 (bjepson@ids.net)				 *				 * This program is free software; you can redistribute it and/or modify				 * it under the terms of the GNU General Public License as published by				 * the Free Software Foundation; either version 2 of the License, or				 * (at your option) any later version.				 *				 * This program is distributed in the hope that it will be useful,				 * but WITHOUT ANY WARRANTY; without even the implied warranty of				 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the				 * GNU General Public License for more details.				 *				 * You should have received a copy of the GNU General Public License				 * along with this program; if not, write to the Free Software				 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.				 *				 * Column Object for tinySQL.				 *				 */				import java.util.*;				import java.lang.*;				import java.io.*;								/*				 *				 * tsColumn - object to hold column metadata				 *				 */				class tsColumn {								  public String name = null;  // the column's name				  public String type = null;  // the column's type				  public int    size = 0;     // the column's size				  public String table = null; // the table which "owns" the column								  /**				   *				   * Constructs a tsColumn object.				   *				   * @param s the column name				   */				  tsColumn (String s) {				    name = s;				  }								}											

相关资源