John Borys
John Borys

Reputation: 93

Heroku with H2 Database

This is related to running Craig Walls Spring Social Showcase on Heroku. This application runs fine locally using an H2 in memory database. When I deploy to Heroku, however, the database no longer works. Is there something else that needs to be configured on the Heroku server to get the in memory database to run?

Upvotes: 9

Views: 7354

Answers (1)

N. Mauchle
N. Mauchle

Reputation: 504

To my knowledge there is no H2 support on the Heroku server. So you can't use H2 as an in memory database.

You can get a list of supported databases here

I would recommend you to use Postgres as a database. This is a good starting point.

Upvotes: 2

Related Questions