returncontinuebreakidentifier : statement return,方法的终结,默认返回void或其他数据。作为函数控制语句,控制的是所在函数体的生命周期。(function (data) { if(!data) return; // 返回void , unde...
分类:
其他好文 时间:
2014-06-26 23:13:51
阅读次数:
250
"Could not find SQL statement to include with refid xxx"A: 认真把每个用到xxx的地方都看一遍
分类:
数据库 时间:
2014-06-25 00:58:20
阅读次数:
216
11.2.0.2,expdp报错:ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []ORA-31642: the following SQL statement fails:BEGIN "...
分类:
其他好文 时间:
2014-06-23 08:22:37
阅读次数:
497
A string is a sequence of characters. You can access the characters one at a time with the bracket operator. The second statement selects ch...
分类:
其他好文 时间:
2014-06-21 08:19:51
阅读次数:
197
在AWR中定位到问题SQL语句后想要了解该SQL statement的详细运行计划,于是就用AWR报告中得到的SQL ID去V$SQL等几个动态性能视图中查询,但发现V$SQL或V$SQL_PLAN视图都已经找不到相应SQL ID的记录,一般来说这些语句已经从shared pool共享池中被替换出去...
分类:
数据库 时间:
2014-06-18 09:55:27
阅读次数:
332
1>PreparedStatement用于处理动态SQL语句,在执行前会有一个预编译过程,这个过程是有时间开销的,虽然相对数据库的操作,该时间开销可以忽略不计,但是PreparedStatement的预编译结果会被缓存,下次执行相同的预编译语句时,就不需要编译,只要将参数直接传入编译过的语句执行代码...
分类:
编程语言 时间:
2014-06-18 08:48:53
阅读次数:
219
ALTER TABLE语句:ALTER TABLEsql-statement ::= ALTER TABLE [database-name .] table-name alterationalteration ::= RENAME TO new-table-namealteration ::= .....
分类:
数据库 时间:
2014-06-18 00:21:55
阅读次数:
277
for ( decl : coll ){ statement}where decl is the declaration of each element of the passed collection coll and for which the statements specified are....
分类:
其他好文 时间:
2014-06-15 22:11:18
阅读次数:
295
1:获取数据库连接
Connection connection=getConnection();
2:准备SQL语句
3:调用Connection的creatStatement()方法获取Statement对象执行SQL语句
(注:Statement对象处理的SQL语句只能是INSERT,UPDATE或DELETE)
statement=connection.createStatemen...
分类:
数据库 时间:
2014-06-15 16:56:45
阅读次数:
209
映射文件主要分为两个部分:模块配置和Statement配置
模块配置包括:
typeAlias节点:
定义了本映射文件中的别名,以避免过长变量值的反复书写,此例中通过
typeAlias节点为类"com.itmyhome.User"定义了一个别名"user",
这样在本配置文件的其他部分,需要引用"com.itmyhome.User"类时,
只需以其别名替代即可。
cacheModel节点
定义了本映射文件中使用的Cache机制
...
分类:
其他好文 时间:
2014-06-15 09:46:47
阅读次数:
156