Make sure that hibernate has the correct dialect (POSTGRES) and hbm2ddl for
production