
Work Summary
crazy_coder
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Summary on 20080703: Attention for hibernate operation
1. Check null for result returned by get, because if the object specified by identifier id is not exist in db, null will be returned2. Check the list returned by hibernate, 2.1 check whether the l原创 2008-07-03 23:33:00 · 333 阅读 · 0 评论 -
Summary on 20080701: insert value for identity column in sql
In MSSQLServer, by default, user can‘t insert/assign/update value for identity column; SQLServer will do this for user automatically, so there is one problem caused that: what will do if wants to ass原创 2008-07-02 21:39:00 · 439 阅读 · 0 评论 -
Summary on 20080626: hibernate configuration and hbm2ddl tool
xml file is actualy like the following format: PUBLIC "-//hibernate/hibernate mapping dtd 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">in the hibernate configu原创 2008-06-27 00:06:00 · 364 阅读 · 0 评论 -
Summary on 20080617: using forward or redirection in jsp and servlet
In Jsp and Servlet, when traverse between Jsp page and Servlet, there are two ways:1. using jsp:forward2. using response.sendRedirect(url)here is the summary of the each method:jsp:forward原创 2008-06-17 23:53:00 · 363 阅读 · 0 评论 -
Summary on 20080616: Basic usage of Enum in Java1.5
The type Enum is imported by Java1.5, here are some of the notice about using Enum in Java1. Enum is actually one interface2. Consider Enum as one simple class with several pre-defined instance, s原创 2008-06-16 22:03:00 · 478 阅读 · 0 评论 -
Summary on 20080613: the meaningless variable in JavaScript
In JavaScript, there are some meaningless variable/value, which means, in logic expression, those meaningless variables will return false for ever.Those meaningless variables include: NULL, 0, false原创 2008-06-15 09:59:00 · 388 阅读 · 0 评论 -
Summary on 2008-06-12: How to check one session is valid
1. before invalidate the session, its necessary to check whether the session is still valid,HttpServletRequest supply one method called: isRequestedSessionIdValid()this method will check whether原创 2008-06-12 22:59:00 · 867 阅读 · 0 评论 -
Summay on 20080820: Hibernate operation method comparation
Hibernate provide kinds of operation methods to save/update/delete object. here we just give one simple conclusion of those method and their difference: save/update/saveOrUpdatethose three metho原创 2008-08-20 22:20:00 · 400 阅读 · 0 评论 -
Summary on 20081111: system method in sql server2005
In sql server 2005, there is no support for array.when you print something using print @dddvalue, when @dddvalue is null, there will be nothing printedcharindex(search, @src) will get the ind原创 2008-11-11 21:35:00 · 421 阅读 · 0 评论