当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 文章不断更新中每次的修改将以颜色标识,有疑问的地方以此色标识第
 

 

 ·schema structure小结    »显示摘要«
    摘要: 1. schema机制: a) simple type和complex type 由于xml文档被组织成树状结构,因此,我们可以按照节点所处的位置把他们区分为叶子节点和内部节点。simple type是schema引入以表示叶子节点类型的,而complex type是用来表示内部节点类型的。因此,对于simple type我们关心的是她所允许的值,也就是在datatypes中所说的lexic......
 ·sp手机通信名词简析大全之一    »显示摘要«
    摘要: 1、全球通   全球通是中国移动通信经营的一个用户品牌,具备语音通话功能,可实现国内、国际漫游,可同时使用主叫号码显示、呼叫转移、移动传真等增值服务,还可使用gprs、彩信、ip电话、短信息、移动秘书、wap上网、全球呼等业务、以及针对集团商业客户的企业通信应用方案。   2、神州行   “神州行”是“神州行预付费业务”的简称,是中国移动通信继&#......


Hibernate2.1.6 源码分析

文章不断更新中

第一次注释 【程序编程相关:数据库连接缓冲池(原创)

每次的修改将以颜色标识,有疑问的地方以此色标识 【推荐阅读:java的xml编程(sax)

 public void saveorupdate(object obj) throws hibernateexception { 【扩展信息:Installing PHP and t

1.sessionimpl.saveorupdate

  if (obj==null) throw new nullpointerexception("attempted to update null");//如果对象为空,则抛出异常

  if ( reassociateifuninitializedproxy(obj) ) return;

  object object = unproxyandreassociate(obj); //a proxy is always "update", never "save"

  entityentry e = getentry(object);//从session中拿出obj相关的entityentry,这个对象持有po当前的状态

  if (e!=null && e.status!=deleted) {

   // do nothing for persistent instances

   log.trace("saveorupdate() persistent instance");

  }

  else if (e!=null) { //ie. e.status==deleted

   log.trace("saveorupdate() deleted instance");

   save(obj);

  }

  else {

   // the object is transient

   boolean isunsaved = interceptor.isunsaved(object);//interceptor是可配置的,默认是configratiron,返回null

   classpersister persister = getpersister(object);//得到obj的persister class mapping信息

   if (isunsaved==null) {

    // use unsaved-value


...   下一页
    摘要: java/j2me/ target=_blank>j2me加密数据的一个第三方开源免费类库介绍 在j2me编程中,经常遇到一些数据在存储或者传输时需要加密,下面介绍一个第三方的加密类库的一些资料: 加密类库的官方主页:http://www.bouncycastle.org/ 介绍的文章: 中文:https://18900.motorola.com/ewa_portal/de......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE