摘要:
dao需要dataSourceorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in class path resource [bean.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required at or 阅读全文
摘要:
Error 500--Internal Server Errorjava.lang.NegativeArraySizeException at com.jspsmart.upload.SmartUpload.upload(SmartUpload.java:218) at jsp_servlet._qqda._main._tj._daoexl.__daoexl._jspService(__daoexl.java:209) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.St 阅读全文
摘要:
在Oracle中,有一个很有趣的东西,那就是rownum。当你从某个表中查询数据的时候,返回的结果集中都会带有rownum这个字段,而且有时候也可以使用rownum进行一些条件查询。 在查询中,我们可以注意到,类似于“select xx from table where rownum < n”(n>1)这样的查询是有正确含义的,而“select xx from table where rownum = n”这样的查询只在n=1的时候成立,“select xx from table where rownum > n”(n>1)这样的查询只能得到一个空集。另外“select 阅读全文