本站首页    管理页面    写新日志    退出


«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
31


公告
 本博客在此声明所有文章均为转摘,只做资料收集使用。

我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:
日志总数:1304
评论数量:2242
留言数量:5
访问次数:7579394
建立时间:2006年5月29日




[Hibernate]Hibernate 3.2: Transformers for HQL and SQL
软件技术,  电脑与网络

lhwork 发表于 2006/6/12 9:50:00

People using the Criteria API have either transparently or knowingly used a ResultTransformer. A ResultTransformer is a nice and simple interface that allows you to transform any Criteria result element. E.g. you can make any Criteria result be returned as a java.util.Map or as a non-entity Bean. Criteria Transformers Imagine you have a StudentDTO


阅读全文(12621) | 回复(0) | 编辑 | 精华 | 删除
 


[Hibernate]Generic DAO pattern with JDK 5.0
软件技术,  电脑与网络

lhwork 发表于 2006/6/12 9:48:41

One of the things in Hibernate in Action that needs serious improvement is the section about data access objects, the good old DAO pattern. Things gone wrong Some of the mistakes I've made in the first edition: I assumed that DAO is not only a well known pattern, but that most people already had experience how to write state-oriented data access object interfaces. It turns out that most developers are very familiar with statement-oriented DA


阅读全文(3741) | 回复(0) | 编辑 | 精华 | 删除
 


[J2ME]通过串口控制手机的简单程序
软件技术,  电脑与网络

lhwork 发表于 2006/6/8 17:48:08

Test.java

package steeven.mobile;

import javax.comm.*;

/**
* <p>Title: steeven mobile</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2002</p>
* <p>Company: konamish</p>
* @author phpme@citiz.net
* @version 1.0
*
* Software requirement:
*    http://java.sun.com/products/javacomm (串口支持API)
* Hardware requirement:
*    Moblie data line or IR interfa

阅读全文(3889) | 回复(0) | 编辑 | 精华 | 删除
 


[Hibernate]解析Hibernate Validator (3)
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 15:24:45

还记得我们在验证时候所写的代码吗:   ClassValidator<Person> classValidator =  new  ClassValidator<Person> (Person. class );
  InvalidValue[]&nb

阅读全文(2153) | 回复(0) | 编辑 | 精华 | 删除
 


[Hibernate]解析Hibernate Validator (2)
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 15:21:20

   /**
    * apply constraints on a bean instance and return all the failures.
    */
   public  InvalidValue[] get

阅读全文(2212) | 回复(0) | 编辑 | 精华 | 删除
 


[Hibernate]解析Hibernate Validator (1)
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 15:13:14

任何获得Matrix授权的网站,转载请保留以下作者信息和链接:
作者:icess(作者的blog:http://blog.matrix.org.cn/page/icess)
关键字:Hibernate Validator 在前一篇文章 < Hibernate Validator 简介 > http://www.matrix.org.cn/resource/article/44/44153_Hibernate%20Validator%20.html中,我

阅读全文(2306) | 回复(0) | 编辑 | 精华 | 删除
 


[Hibernate]Hibernate Validator 简介
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 15:11:52

在项目的业务属性中,你是不是要经常验证属性的取值范围呢. 想要了解比较优美的解决方案吗?           看看Hibernate Validator 是怎么做的吧.一见到她,相信你就会说: Oh God, 这就是我需要的. 任何获得Matrix授权的网站,转载请保留以下作者信息和链接:
作者:icess(作者的blog:http://blog.matrix.org.cn/page/icess)
关键字:Hibernate Validator 用Annotations 给类或

阅读全文(1834) | 回复(0) | 编辑 | 精华 | 删除
 


[Java Open Source]JBoss Rules 学习(五): JBoss Rules 3.0 RC-3类库介绍
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 14:47:02

下载地址: http://labs.jboss.com/portal/index.html?ctrl:id=page.default.downloads&project=jbossrules 下载文件说明: JBoss Rules 3.0 Binaries (includes javadocs)

阅读全文(2523) | 回复(0) | 编辑 | 精华 | 删除
 


[Java Open Source]JBoss Rules 学习(四): Drools规则引擎 (下)
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 14:44:52

Drools 规则引擎(下) 4 .
阅读全文(3124) | 回复(0) | 编辑 | 精华 | 删除
 


[Java Open Source]JBoss Rules 学习(三): Drools规则引擎 (上)
软件技术,  电脑与网络

lhwork 发表于 2006/6/7 14:40:50

从今天开始,我们将分两期来详细的介绍Drools规则引擎的原理,和各关键类的使用方法。

Drools 规则引擎(上)

1. 概述 :
阅读全文(4390) | 回复(0) | 编辑 | 精华 | 删除
 


« 121 122 123 124 125 126 127 128 129 130 »



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.109 second(s), page refreshed 144756843 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号