無聊人士

          搬家==》www.soapui.cn

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            32 隨筆 :: 0 文章 :: 60 評論 :: 0 Trackbacks
          筆記一下:

          設(shè)hibernate.hbm2ddl.auto為update/create-drop/create后,在classpath中扔一個/import.sql進(jìn)去,hibernate啟動時就會執(zhí)行import.sql的內(nèi)容。

          11860 [main] INFO? org.hibernate.tool.hbm2ddl.SchemaExport? - Running hbm2ddl schema export
          11860 [main] DEBUG org.hibernate.tool.hbm2ddl.SchemaExport? - import file not found: /import.sql
          11875 [main] INFO? org.hibernate.tool.hbm2ddl.SchemaExport? - exporting generated schema to database
          posted on 2006-10-31 00:32 mmwy 閱讀(5767) 評論(2)  編輯  收藏 所屬分類: Hibernate

          評論

          # re: hibernate.hbm2ddl.auto與import.sql[未登錄] 2011-12-04 16:41 aaa
          在classpath中扔一個/import.sql進(jìn) 是什么意思啊
          我的qq1450751458  回復(fù)  更多評論
            

          # re: hibernate.hbm2ddl.auto與import.sql 2012-11-19 01:59 ww
          在classpath中扔一個/import.sql進(jìn) 是什么意思啊

          我的qq 1078435142
            回復(fù)  更多評論
            


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 咸阳市| 津南区| 北安市| 辽宁省| 会泽县| 开平市| 宁城县| 逊克县| 侯马市| 亚东县| 台东市| 丹阳市| 东山县| 霍州市| 铜川市| 广丰县| 英德市| 大丰市| 萨迦县| 略阳县| 铜山县| 肇庆市| 河曲县| 陆丰市| 紫阳县| 正蓝旗| 农安县| 莱阳市| 濮阳市| 临高县| 乃东县| 青铜峡市| 泊头市| 泰州市| 乌拉特前旗| 珠海市| 盐城市| 固阳县| 冕宁县| 吉安县| 南投市|