夢幻之旅

          DEBUG - 天道酬勤

             :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            671 隨筆 :: 6 文章 :: 256 評論 :: 0 Trackbacks
          <property name="age" formula="(select round((to_number(sysdate - nvl(birth_day, sysdate))/360)) from es_sms_customer a where a.id=ID)"/>
           
          <property name="age" formula="(select round((to_number(sysdate - nvl(BIRTH_DAY, sysdate))/360)) from dual)"/>
          formula 是一個很有用的東東
          posted on 2011-01-09 20:32 HUIKK 閱讀(654) 評論(0)  編輯  收藏 所屬分類: Hibernate
          主站蜘蛛池模板: 四川省| 娄底市| 昌平区| 江门市| 凤山县| 水富县| 唐海县| 龙口市| 津市市| 苏尼特左旗| 英吉沙县| 西和县| 运城市| 丹江口市| 浠水县| 荆州市| 阳朔县| 贵港市| 衡山县| 响水县| 白山市| 望奎县| 进贤县| 五常市| 道真| 中方县| 屏东市| 红安县| 明溪县| 苗栗县| 福建省| 武山县| 得荣县| 石家庄市| 大足县| 平定县| 泊头市| 泰州市| 武汉市| 德江县| 阜康市|