隨筆-88  評(píng)論-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) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
          博客園   IT新聞   Chat2DB   C++博客   博問  
           
          主站蜘蛛池模板: 天祝| 崇阳县| 屏边| 谢通门县| 诸暨市| 渭南市| 维西| 新民市| 吉林市| 太康县| 会泽县| SHOW| 微博| 湄潭县| 社旗县| 松溪县| 平遥县| 离岛区| 观塘区| 龙山县| 黄冈市| 杭州市| 页游| 怀远县| 读书| 将乐县| 碌曲县| 滨海县| 奉节县| 高台县| 沙河市| 高淳县| 阳江市| 深泽县| 凉城县| 太湖县| 镇赉县| 突泉县| 元氏县| 手游| 乌兰县|