- 浏览: 145449 次
- 性别:
- 来自: 深圳
-
最新评论
-
cwftalus:
insert into 无法实现
Infobright入库 -
红级主:
问题是我就不知道sys的密码,进入其他的用户也改不了密码吧?
ORACLE 中更改用户密码的方法
文章列表
查询一个语句想知道这次查询用了多少时间
时间可以精确到1/1000000秒,我一直使用下面的方法:
CREATE OR REPLACE PACKAGE timing AS
PROCEDURE starttiming;
PROCEDURE stoptiming;
PROCEDURE printelapsed(p_message IN VARCHAR2);
END;
/
CREATE OR REPLACE PACKAGE BODY ti ...
- 2009-07-10 16:30
- 浏览 3029
- 评论(0)
http://blog.chinaunix.net/u/21806/showart_484745.html
动态SQL中using的用法
关键字:oracle using 返回结果集
CREATE OR REPLACE PROCEDURE tP_JCXX_SECOND(CUR_RESULT OUT sys_refcursor,
TJFS IN VARCHAR2,--统计方式
NSPQ IN VARCHAR2,--片区
NSRZT IN V ...
- 2009-07-10 16:22
- 浏览 2809
- 评论(0)
[url]
http://www.yesky.com/SoftChannel/72342371928965120/20041022/1867273.shtml[/url]
摘要:对动态SQL的程序开发进行了总结,并结合笔者实际开发经验给出若干开发技巧。
关键词:动态SQL,PL/SQL,高性能
1. 静态SQLSQL与动态SQL
Oracle ...
- 2009-07-10 16:17
- 浏览 918
- 评论(0)
vb.net作为广泛应用的,构建在.net上的语言,已经是标准的面向对象的开发语言了。oop的思想在vb.net中得到了很好的体现。在vb.net中有三个关键字,那就是public,private,shared。至于public,private和其他的oop语言没有什么区别,这里 ...
- 2009-07-07 11:10
- 浏览 6934
- 评论(0)
The Apache Tomcat Native Liberay which allows optimal performance in production environments was not found on the java.library.path:E:\java\jdk1.5.0_05\bin;.;C:\windows\system32; C:\windows;E:\oracle\ora90\bin;dL\oracle\ora90\apache\perl\5.00503\bin\mswin32-x86;c ...
- 2009-04-29 21:55
- 浏览 1119
- 评论(0)
三个参数,
第一个是HQL语句,如from EntryObject
第二个是从第几条记录开始
第三个是分页的页显示条数大小
find("from EntryObject",1,20);
表示查询Users 表,从第1条记录开始,共查询出20条记录
public List find( final String hsql, final int firstRow, final int maxRow) throws Exception {
return getHibernateTemplate().executeFind( new Hib ...
- 2009-04-25 20:27
- 浏览 898
- 评论(0)
<html:text readonly="true" property="user.id" styleId="userId"/>
等同于
<input type="text" name="user.id" value="" readonly="readonly"
id="userId">
- 2009-04-21 22:00
- 浏览 1080
- 评论(0)
http://blog.csdn.net/zhangxiaoxiang/archive/2006/12/04/1429968.aspx
11月28日Validator框架培训日记收藏
validation.xml文件中的<form>代表一组校验规则,我们可以使用它的name属性值来选择这组规则去对某个JavaBean进行校验,也就是给JavaBean安上一组怎样的校验规则。
<Valdiator>元素的msg属性相当于该Validator的一个标记,如果该validator校验失败,我们可以取出它的msg,至于msg代表什么信息,validator框架不管。我们自己拿着 ...
- 2009-04-21 18:57
- 浏览 1414
- 评论(0)
http://www.javaresearch.org/article/12970.htm
Struts Validator的使用
bruce 原创 更新:2004-03-31 08:42:52 版本: 1.0
首先,在struts-config.xml文件中要写入:
<!-- ========== Message Resources Definitions =========================== -->
<message-resources parameter="xxx.xxxx.xxxx "/> ...
- 2009-04-21 15:53
- 浏览 749
- 评论(0)
http://chrislee.iteye.com/category/45234?show_full=true
异常特征:javax.servlet.jsp.JspException: No form found under 'menuForm' in locale 'en_US'
avax.servlet.jsp.JspException: No form found under 'employeeForm' in locale 'zh_CN'
at org.apache.struts.taglib.html.JavascriptValidatorTag.renderJavascript ...
- 2009-04-21 14:36
- 浏览 3201
- 评论(0)
出现此错误的原因是在hibernate 映射文件中引入了不存在的类名com.cn.common.domain.UserRole 并且存在不必要的映射文件
例如 <set
name="user"
inverse="true"
>
<key>
<column name="role_id" />
</key>
<one-to-many class="com.cn ...
- 2009-04-20 22:22
- 浏览 3016
- 评论(0)
1.could not load an entity (get)
2.23:31:32,468 ERROR LazyInitializationException:19 - could not initialize proxy - the owning Session was closed
org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed (load)
Lazy问题可以通过加opensessioninviewfilter解决
在web. ...
- 2009-04-19 23:12
- 浏览 8580
- 评论(0)
出现此错误的愿意是主表,附表 的关联字段问题,附表中的外键与主表中的主键的数据类型不同而引起的
20:57:11,578 WARN RequestProcessor:516 - Unhandled Exception thrown: class org.springframework.orm.hibernate3.HibernateSystemException
20:57:11,578 ERROR [action]:253 - Servlet.service() for servlet action threw exception
java.lang.NullPointerExceptio ...
- 2009-04-07 21:04
- 浏览 1961
- 评论(0)
err.org.hibernate.tuple.PojoEntityTuplizer.setProperty
bireport表中赋值了一个null值,但是在类型<property name="mu_isleaf" type="int" column="mu_isleaf"
length="1" />却是java中的元类型(byte、char、int、fload、double)中的一种,java是不允许对这些类型赋值为null的。
java.lang.NullPointerException
...
- 2009-04-03 18:12
- 浏览 1248
- 评论(0)
在标签结束少了这个"/"结束符(或者<<bean:write name="infoList" property="menu_name">应加上"/>"),
具体错误如下
org.apache.jasper.JasperException: /modifyUser.jsp(44,68) According to TLD, tag bean:write must be empty, but is not
- 2009-03-31 10:39
- 浏览 2829
- 评论(0)