自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 问答 (3)
  • 收藏
  • 关注

原创 Interface PreparedStatement的execute(), executeQuery(), executeUpdate()方法

[b]execute[/b]boolean execute() throws SQLExceptionExecutes the SQL statement in this PreparedStatement object, which may be any kind of SQL statement. Some prepared statements re...

2010-07-12 21:54:50 273 1

原创 PreparedStatement prepareStatement()

传送给数据库的 SQL 语句通过一个包含两个步骤的过程来返回结果。首先准备它们,然后处理它们。借助 Statement 对象,这两个阶段对应用程序而言变成一个阶段。PreparedStatement 允许将这两个步骤分开。准备步骤在创建对象时发生,而处理步骤在对 PreparedStatement 对象调用 executeQuery、executeUpdate 或 execute 方法时发...

2010-07-12 21:46:38 239

原创 Interface Connection

java.sql Interface ConnectionAll Superinterfaces: Wrapper ----------------------------------------------------------------------public interface Connection extends WrapperA connectio...

2010-07-12 21:35:48 155

Java 连接 Oracle

1. 建立驱动2. 连接数据库3. 发送sql语句4. 关闭连接[code="java"] public static final String DBDRIVER = "oracle.jdbc.driver.OracleDriver";public static final String DBURL = "jdbc:oracle:thin:@192.168.209...

2010-04-27 22:33:16 109

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除