運行junit單元測試報錯:org.hibernate.MappingException: Could not determine type for: String, at table: Elec_T

org.hibernate.MappingException: Could not determine type for: String, at table: Elec_Text, for colum hibernate配置文件出問題,導致連接不上數據庫,檢查運行hbm.xml文件,發現String類型對於java可以,但hibernate要用string,小寫的「s」,這樣子就解決問題了,運行單
相關文章
相關標籤/搜索