隨筆-88  評論-77  文章-48  trackbacks-0

          Configuration cfg = new Configuration().configure("/hibernate.cfg.xml");

          ??for (Iterator iter = cfg.getTableMappings(); iter.hasNext();) {
          ???Table table = (Table) iter.next();
          ???for (Iterator iterator = table.getColumnIterator(); iterator.hasNext();) {

          ????Column column = (Column) iterator.next();
          ????System.out.println(column.getName());
          ???}

          ??}

          posted on 2006-07-17 11:39 崛起的程序員 閱讀(434) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 台北市| 望城县| 永嘉县| 安宁市| 双流县| 资中县| 巴彦淖尔市| 阿图什市| 济阳县| 昌宁县| 玛纳斯县| 隆安县| 奇台县| 盐池县| 华池县| 化隆| 延川县| 盘山县| 邯郸县| 辽阳市| 海淀区| 大姚县| 岳阳市| 景德镇市| 化州市| 长兴县| 察雅县| 新野县| 克拉玛依市| 景宁| 博罗县| 五原县| 邵东县| 科技| 鄱阳县| 中卫市| 清水河县| 漳平市| 政和县| 荆门市| 汝阳县|