IT专用博

  • 2010-04-29

    Thread restart - [Java]

    If a java thread is finished, it should never be started again!

    So in order to manager that, you must create a new thread instead.

    Tag:Concurrent
    kingofhawks 发表于14:19:47 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2010-03-19

    Hibernate Cache - [Hibernate]

    First-level cache: Session level,内置,默认开启

    Second-level cache: SessionFactory level,可选,有支持Ehcache,OScache等

    二级缓存适用于很少修改的数据。

    能够收益的查询两类:

    (1)search by ID

     (2)关联关系

    Query cache基...
    Tag:
    kingofhawks 发表于16:08:46 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2010-02-08

    set default management IP for zyxel switch - [Other]

    >configure

    >vlan 1

    >ip address default-management *.*.*.* 255.255.255.0

     

    Tag:Switch
    kingofhawks 发表于15:21:17 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2010-02-07

    maven build path in eclipse - [Tool]

    Maven project sometimes not show build path correctyl in eclipse.

    If use m2eclipse plugin, you should use "mvn eclipse:m2eclipse" to setup the project for m2eclipse plugin.

    Refer to http://maven.apache.org/plugins/maven-eclips...
    Tag:Eclipse
    kingofhawks 发表于08:41:54 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2010-01-14

    PostgreSQL installation problems - [Database]

        PostgreSQL8.3 uninstall, then install PostgreSQL8.4 on WinXPSP2, alwayls install error.

       最后发现不要使用Default locale就可以了。

    Tag:PostgreSQL
    kingofhawks 发表于08:26:31 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-10-22

    Hibernate List/Map inverse setting not work - [Hibernate]

    对于有一端是<list>或者<map>的双向关联,需要加以特别考虑。假若子类中的一个属性映射到索引字段,没问题,我们仍然可以在集合类映射上使用inverse="true":

    <class name="Parent">
    <id name="id" column="parent_id"/>
    ....
    <map name="children" inverse="true"...
    Tag:Hibernate
    kingofhawks 发表于08:58:18 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-10-09

    java.lang.OutOfMemoryError: PermGen space - [Java]

    According to james’ s email, system crahsed last night. I checked tomcat log and found Exception as follows:

    in thread “com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0” java.lang.OutOfMemoryError: PermGen...
    Tag:
    kingofhawks 发表于09:49:42 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-10-08

    Hibernate Performance Tuning - [Hibernate]

    Tuning tips:

    (1)many-to-one/one-to-one with fetch="join" and lazy="false". Take care when using join fetch on colections.

    (2)set fetch batch size to avoid n+1 selects

    (3)subselect to reduce select sqls.
    ...

    Tag:Hibernate
    kingofhawks 发表于17:01:44 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-10-08

    Performance Tuning Tips for Hibernate and Java Persistence - [Hibernate]

    http://www.laliluna.de/performance-tips-hibernate-java-persistence.html

    This article is an extract of the chapter Performance of my book Hibernate and Java Persistence by Example.

    The book is available in English as eBoo...
    Tag:Hibernate
    kingofhawks 发表于10:38:04 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-10-06

    成功设计网站的50条建议 50 Tips on Web Design - [GUI]

    Include your logo in all pages. Position it at the top left or each page.

    确保每张网页的左上方出现logo。

    · Complement your logo with a tagline or catchy sentence that summarizes your business purpose. For example “Always l...
    Tag:网站
    kingofhawks 发表于21:28:12 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-10-04

    logo/banner creator - [GUI]

       aaa logo  http://www.aaa-logo.com/

    Tag:素材
    kingofhawks 发表于15:31:58 | 阅读全文 | 评论 1 | 编辑 | 分享 0
  • 2009-10-04

    Banner Maker - [GUI]

    http://www.bannersnack.com/

    http://banner.alimama.com/

    Tag:
    kingofhawks 发表于10:51:14 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-30

    pgsql in Navicat lite - [Other]

       Create functions->input parameter(arg1,arg2...),return type etc

       Support sql/pgsql/c languages.

    Tag:PostgreSQL
    kingofhawks 发表于14:59:15 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-30

    Maven安装配置 - [Tool]

    Maven安装配置:

    1.在PATH后加上就XXXX\maven-2.0\bin;%PATH%,输入mvn –version验证。

    2.如果是代理服务器上网就,setting.xml

    <proxies>

     

        <proxy>

       &n...
    Tag:
    kingofhawks 发表于09:00:59 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-23

    正确理解Hibernate Inverse(ZT) - [Java]

    http://developer.51cto.com/art/200906/130088.htm

    通过Hibernate Inverse的设置来决定是由谁来维护表和表之间的关系。最近有朋友问我Hibernate关于多对多关于删除中间表数据的问题,关键是Inverse的设置,下面引用网友的一篇文章。

    Inverse是Hibernate双向关系中的基本概念,当然对于多数实体,我们并不需要双向关联,更多的可能会选择单向关联,况且我们大多数人 一般采用一...
    Tag:Hibernate
    kingofhawks 发表于11:13:56 | 阅读全文 | 评论 1 | 编辑 | 分享 0
  • 2009-09-17

    Bullzip PDF - [Tool]

       A wonderful PDF tool for convert Word etc to PDF.

       A nother tool is PrimoPDF, but it needs .net installed, and error prone!

    Tag:PDF
    kingofhawks 发表于16:41:00 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-16

    PayPalExpress VS IPN - [Other]

    Many like the Express Checkout option because of its convenience.
    Some are used to not having that option and stick with the older IPN option.

    Express tends to get orders into your database more reliably, and faster.

    Tag:PayPal
    kingofhawks 发表于17:50:59 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-15

    a different object with the same identifier value was already associated with the session - [Java]

    在使用HibernateTemplate的时候遇到 public void deleteObject(T object) {                 object = (T) getHibernateTemplate().merge(object);                 getHib...
    Tag:Hibernate
    kingofhawks 发表于16:31:10 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-08

    XMAPP+zen-cart - [PHP]

        在XMAPP下安装zen-cart非常方便

    1.解压zen-cart安装包

    2.copy整个目录到xmapp/htdocs 例如zcart folder

    3.open browser http://localhost/zcart/zc_install 开始安装过程,中间可能过报错说“CURL not compiled into PHP - notify server adm...

    Tag:zen-cart XMAPP
    kingofhawks 发表于20:04:26 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-09-08

    zen-cart,oscommerce?

        Open source shopping cart...Based on PHP

     

    Tag:PHP
    kingofhawks 发表于19:47:09 | 阅读全文 | 评论 0 | 编辑 | 分享 0
  • 2009-08-21

    HTML Select lists in Spring MVC 2.5 with annotations

    http://www.theserverlabs.com/blog/2009/04/30/select-lists-with-validation-in-spring-mvc/

     关于Spring MVC的PropertyEditor的用法很详细。

     

    Tag:Spring
    kingofhawks 发表于09:08:57 | 阅读全文 | 评论 0 | 编辑 | 分享 0
共1页 1

个人资料

kingofhawks

日历

搜索

管理

  • 进入后台 写新日志
  • 文章管理 评论管理
  • 更换模板 访问统计

文章分类

  • GUI[5]
  • PHP[1]
  • Java[5]
  • Other[4]
  • Tool[4]
  • Hibernate[4]
  • Database[1]

Tag

  • Hibernate[5]
  • PostgreSQL[2]
  • SVN[1]
  • Concurrent[1]
  • Switch[1]
More..

最新文章

  • Thread restart
  • Hibernate Cache
  • set default management IP for zyxel switch
  • maven build path in eclipse
  • PostgreSQL installation problems
  • Hibernate List/Map inverse setting not work
  • java.lang.OutOfMemoryError: PermGen space
  • Hibernate Performance Tuning
  • Performance Tuning Tips for Hibernate and Java Persistence
  • 成功设计网站的50条建议 50 Tips on Web Design
全部日志>>

最新评论

  • kingofhawks:Color Cop或Pixeur都不错
  • kingofhawks:What is the relationship bet...

链接

    存档

    • 2010 [5]
    • 2009 [16]
    • 访问统计:
    • RSS 什么是RSS?
      用IM提醒我内容更新
      订阅到QQ邮箱
      订阅到鲜果阅读器
      订阅到Google阅读器
      订阅到抓虾阅读器
    • 《城客》第四期:创意之城
      博客大巴
      博客大巴使用指南
      博客大巴模板中心
      免费注册博客大巴
      一键博客搬家工具
      中文互动杂志城客
    Copyright © 2002-2012 BlogBus.com, All Rights Reserved. 博客大巴 版权所有
    博客大巴模板设计:简约风格3 | 作者: hengge