【问题标题】:how to configure postgresql with play framework application如何使用 play 框架应用程序配置 postgresql
【发布时间】:2014-06-23 09:54:29
【问题描述】:

我想将 postgresql 与 play framework 应用程序连接起来。请任何人帮我配置。我应该在 application.conf 中做什么。

【问题讨论】:

    标签: postgresql playframework-2.1 configure


    【解决方案1】:

    只需添加一个数据源:

    db.driver=org.postgresql.Driver
    db.url=jdbc:postgresql:database_name
    

    参考资料:

    http://www.playframework.com/documentation/1.2.5/configuration

    【讨论】:

      猜你喜欢
      • 2014-06-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-05
      • 1970-01-01
      • 2016-11-15
      • 2019-11-05
      相关资源
      最近更新 更多