How to configure spring-boot project to work with inmemory spatial database for tests?
问题 Here is my config now. I want to use hibernate spatial to work with postgis in production. spring: profiles: production datasource: platform: postgres url: jdbc:postgresql://192.168.99.100:5432/dragon username: dragon password: dragon database: driverClassName: org.postgresql.Driver jpa: database: POSTGRESQL database-platform: org.hibernate.spatial.dialect.postgis.PostgisDialect show-sql: true hibernate: ddl-auto: update --- spring: profiles: development datasource: SpatialInMemoryDb jpa: