playframework2.2.x
tun10zhe
这个作者很懒,什么都没留下…
展开
-
playframework2.2.x anorm 批量插入
def insertBatch():Unit={ DB.withConnection { implicit connection => val batch = BatchSql( SQL("INSERT INTO books(title, author) VALUES({title}, {author})"), Seq( Seq[(Str...原创 2018-04-18 10:44:52 · 218 阅读 · 0 评论 -
playframework2.2.x 打war包
project.sbt 加入play2war插件resolvers += Resolver.url( "sbt-plugin-snapshots", url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-snapshots"))( Resolver.ivyStylePatterns) addSbtPlugin("...原创 2018-04-18 14:45:12 · 666 阅读 · 0 评论