我使用播放框架2.2.1,的MySQL 5.5和SORM 0.3.10 由於MySQL的下降不活動連接指定的空閒超時後,我得到這個例外在我的應用程序: [CommunicationsException: Communications link failure The last packet successfully received from the server was 162 701 mill
比方說,我想從 case class Link(url:String, auther: String)
更新數據庫列 case class Link(url:String, auther: String, created: DateTime)
不過,我不想刪除該表,並與DropAllCreate重新創建它,因爲我想保存我的數據。 我們該如何在SORM中做到這一點?或者唯一的方法是用SQL進
任何想法如何爲scala構建SORM 2.10.1我正在嘗試生成一個jar文件,可以在我的eclipse項目中使用它。 這裏是我的代碼 import sorm._
case class Coffee(name: String, supplier: Supplier, price: Double, sales: Int, total: Int)
case class Supplier(name: