title: How to disable database in PlayFramework
body: <p>I'd like to totally disable it and not use the in memory database. When I delete the attributes, play complains that database is not defined. Any help?</p>
  
  <p>@68ajai6kn
  Can't start in PROD mode with errors</p>
  
  <blockquote>
    <p>JPA error A JPA error occurred (Cannot start a JPA manager without a
    properly configured database): No datasource configured</p>
    
    <p>play.exceptions.JPAException: Cannot start a JPA manager without a
    properly configured database  at
    play.db.jpa.JPAPlugin.onApplicationStart(JPAPlugin.java:108)  at
    play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:425)
      at play.Play.start(Play.java:495)   at play.Play.init(Play.java:292)
      at play.server.Server.main(Server.java:158) Caused by:
    java.lang.NullPointerException: No datasource configured  ... 5 more</p>
  </blockquote>