用户操作
[即时聊天] [发私信] [加为好友]
crazy_coderID:crazy_coder
2872次访问,排名2万外,好友0人,关注者0人。
crazy_coder的文章
原创 25 篇
翻译 0 篇
转载 0 篇
评论 1 篇
最近评论
rrrxxx520:请问楼上,嘉定会不会送票的?
文章分类
收藏
    相册
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes
    2008年07月17日

    原创 Summary on 20080717: web page refresh收藏

    These days I'm working on web page refresh, and find that there are lots of ways to refresh page:
    1. window.location.reload(true/false)
    2. window.location.href = window.location.href(url)
    3. window.location.replace(URL)
    4. document.execCommand('Refresh');

    Why when refresh page, there will be confirmation window to ask for the confirmation:
    http://hi.baidu.com/ouanan/blog/item/cdace60阅读全文>

    发表于 @ 2008年07月17日 22:34:00|评论(loading...)|编辑|收藏

    2008年07月13日

    原创 merge two column into one field in sql and hql收藏


    some times, we want to consider two columns in db as one field in service, for example, we'll save first name and last name seperately in db, but in UI, we want to display them together.
    In this case, we should consider the two columns as one, and in sql, we can do the query, such as:
    select first_name + ' ' + last_name as name from user
    In HQL, we can also do this, like:
    select firstName + " " + lastName as name from user
    In QBC, I'm not sure whether there is su阅读全文>

    发表于 @ 2008年07月13日 23:11:00|评论(loading...)|编辑|收藏

    2008年06月26日

    原创 Summary on 20080626: some difference between JDBC transaction and JTA收藏

    transaction in JDBC is based on connection, one transaction can only has one connection, which is actually one session;
    JTA is based on transaction manager, one transaction in JTA can go across more than one connection, that means, in hibernate, one transaction in JTA can go through several sessions.阅读全文>

    发表于 @ 2008年06月26日 23:52:00|评论(loading...)|编辑|收藏

    Csdn Blog version 3.1a
    Copyright © crazy_coder