隨筆 - 71  文章 - 15  trackbacks - 0
          <2025年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          因為口渴,上帝創造了水;
          因為黑暗,上帝創造了火;
          因為我需要朋友,所以上帝讓你來到我身邊
          Click for Shaanxi xi'an, Shaanxi Forecast
          ╱◥█◣
            |田|田|
          ╬╬╬╬╬╬╬╬╬╬╬
          If only I have such a house!
          〖總在爬山 所以艱辛〗
          Email:myesjoy@yahoo.com.cn
          NickName:yesjoy
          MSN:myesjoy@hotmail.com
          QQ:150230516

          〖總在尋夢 所以苦痛〗

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          Hibernate在線

          Java友情

          Java認證

          linux經典

          OA系統

          • ¤易能協同辦公系統¤
          • 流程管理、知識管理、客戶關系管理、輔助辦公
          • ¤黃城網絡辦公系統3.0¤
          • B/S結構,適用于Intranet/Internet應用,實現無地域限制的全球辦公,具有郵件管理、業務管理、網絡硬盤、智能工作流等功能。

          Spring在線

          Structs在線

          專家專欄

          企業信息化

          大型設備共享系統

          工作流

          工作流產品

          網上購書

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          <? xml?version="1.0" ?>
          <! DOCTYPE?hibernate-mapping?PUBLIC
          ????"-//Hibernate/Hibernate?Mapping?DTD//EN"
          ????"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"?
          >

          < hibernate-mapping? package ="gov.cfte.object.hibernate.model" >
          ????
          < class? name ="ObjectLog" ?table ="OBJECT_LOG" >
          ????????
          < id? column ="ID" ?name ="Id" ?type ="string" ?length ="32" >
          ????????????
          < generator? class ="net.sf.hibernate.id.UUIDHexGenerator" ? />
          ????????
          </ id > ?
          ????????
          < property
          ????????????
          column ="TYPE_ID"
          ????????????length
          ="32"
          ????????????name
          ="TypeId"
          ????????????not-null
          ="false"
          ????????????type
          ="string"
          ?????????
          />
          ????????
          < property
          ????????????
          column ="OPTIME"
          ????????????length
          ="26"
          ????????????name
          ="Optime"
          ????????????not-null
          ="false"
          ????????????type
          ="timestamp"
          ?????????
          />
          ????????
          < property
          ????????????
          column ="USER_ID"
          ????????????length
          ="32"
          ????????????name
          ="UserId"
          ????????????not-null
          ="false"
          ????????????type
          ="string"
          ?????????
          />
          ????????
          < property
          ????????????
          column ="OPINFO"
          ????????????length
          ="32"
          ????????????name
          ="Opinfo"
          ????????????not-null
          ="false"
          ????????????type
          ="string"
          ?????????
          />
          ????????
          < property
          ????????????
          column ="RECORDINFO"
          ????????????length
          ="1024"
          ????????????name
          ="Recordinfo"
          ????????????not-null
          ="false"
          ????????????type
          ="string"
          ?????????
          />
          ????????
          < property
          ????????????
          column ="IP"
          ????????????length
          ="32"
          ????????????name
          ="Ip"
          ????????????not-null
          ="false"
          ????????????type
          ="string"
          ?????????
          />
          ????
          </ class >
          </ hibernate-mapping >
          return ? this .getHibernateTemplate().find( " from?ObjectLog " );
          return ? this .getHibernateTemplate().find( " from?ObjectLog?c?where?c.Opinfo?=?? " ,?queryCondition); // 根據操作方式來精確查詢(已測試通過)
          return ? this .getHibernateTemplate().find( " from?ObjectLog?c?where?c.Opinfo?like?? " ,? " % " + queryCondition + " % " ); // 根據操作方式來模糊查詢(已測試通過)
          return ? this .getHibernateTemplate().find( " from?ObjectLog?c?where?c.TypeId=??and?c.Opinfo?like?? " , new ?Object[]{typeId, " % " + queryCondition + " % " });
          posted on 2006-03-28 17:58 ★yesjoy★ 閱讀(373) 評論(0)  編輯  收藏 所屬分類: Hibernate學習
          主站蜘蛛池模板: 龙川县| 娱乐| 山阳县| 壤塘县| 积石山| 响水县| 张家口市| 开封市| 南京市| 阳新县| 濮阳县| 民权县| 瑞金市| 元氏县| 富蕴县| 札达县| 玛纳斯县| 隆德县| 宁南县| 宝鸡市| 泾阳县| 美姑县| 吉水县| 文水县| 昌吉市| 罗定市| 门源| 泾源县| 玛多县| 宝山区| 东方市| 大方县| 横山县| 西宁市| 博客| 赤峰市| 手游| 平罗县| 贵阳市| 莱西市| 余姚市|