無聊人士

          搬家==》www.soapui.cn

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

          設hibernate.hbm2ddl.auto為update/create-drop/create后,在classpath中扔一個/import.sql進去,hibernate啟動時就會執行import.sql的內容。

          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 閱讀(5765) 評論(2)  編輯  收藏 所屬分類: Hibernate

          評論

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

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

          我的qq 1078435142
            回復  更多評論
            

          主站蜘蛛池模板: 镇坪县| 西丰县| 奈曼旗| 长海县| 郎溪县| 津南区| 新源县| 明水县| 义马市| 莱西市| 德化县| 宝应县| 南京市| 新建县| 商都县| 普兰县| 台州市| 岱山县| 天峻县| 望江县| 盐源县| 柳林县| 浦县| 布尔津县| 桂平市| 马龙县| 乌拉特后旗| 万荣县| 稷山县| 长兴县| 巫山县| 大方县| 西城区| 灵丘县| 达拉特旗| 法库县| 涿鹿县| 清原| 德钦县| 云龙县| 仁怀市|