使用hibernate tool生成pojo

這裏使用了Hibernate Tools 4.3.1,Hibernate 4.3.5.Final和MySQL。 創建*.cfg.xml 打開eclipse,File->New->Other->Hibernate Configuration File,創建一個新的文件,如圖所示 下一步,選擇文件放置的路徑並給文件命名 配置與數據庫連接的信息並勾選下方的Create a console configu
相關文章
相關標籤/搜索