`
文章列表
查询一个语句想知道这次查询用了多少时间 时间可以精确到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 ...
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 ...
[url] http://www.yesky.com/SoftChannel/72342371928965120/20041022/1867273.shtml[/url] 摘要:对动态SQL的程序开发进行了总结,并结合笔者实际开发经验给出若干开发技巧。   关键词:动态SQL,PL/SQL,高性能   1. 静态SQLSQL与动态SQL   Oracle ...
vb.net作为广泛应用的,构建在.net上的语言,已经是标准的面向对象的开发语言了。oop的思想在vb.net中得到了很好的体现。在vb.net中有三个关键字,那就是public,private,shared。至于public,private和其他的oop语言没有什么区别,这里 ...
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 ...
三个参数, 第一个是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 ...
<html:text readonly="true" property="user.id" styleId="userId"/> 等同于 <input type="text" name="user.id" value="" readonly="readonly" id="userId">
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框架不管。我们自己拿着 ...
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 "/>     ...
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 ...
出现此错误的原因是在hibernate 映射文件中引入了不存在的类名com.cn.common.domain.UserRole  并且存在不必要的映射文件 例如  <set         name="user"         inverse="true"     >         <key>             <column name="role_id" />         </key>         <one-to-many class="com.cn ...
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. ...
出现此错误的愿意是主表,附表 的关联字段问题,附表中的外键与主表中的主键的数据类型不同而引起的 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 ...
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 ...
在标签结束少了这个"/"结束符(或者<<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
Global site tag (gtag.js) - Google Analytics