Skip to content

Commit

Permalink
chore: refactor oracle package to lowercase and fix postgist dialect … (
Browse files Browse the repository at this point in the history
#1162)

Co-authored-by: Derek Roberts <[email protected]>
  • Loading branch information
Ricardo Campos and DerekRoberts authored May 17, 2024
1 parent 8e744d8 commit bfbdacd
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import ca.bc.gov.backendstartapi.dto.SeedPlanZoneDto;
import ca.bc.gov.backendstartapi.vo.parser.ConeAndPollenCount;
import ca.bc.gov.backendstartapi.vo.parser.SmpMixVolume;
import org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect;
import org.springframework.aot.hint.annotation.RegisterReflectionForBinding;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportRuntimeHints;
Expand All @@ -24,7 +23,6 @@
SeedPlanZoneDto.class,
SmpMixVolume.class,
GeospatialOracleResDto.class,
PostgisPG95Dialect.class
})
@ImportRuntimeHints(value = {HttpServletRequestRuntimeHint.class})
public class NativeImageConfig {}
2 changes: 1 addition & 1 deletion backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spring.datasource.hikari.poolName = NrSparDbPool
spring.datasource.hikari.minimumIdle = 1
spring.datasource.hikari.maximumPoolSize = 3
spring.jpa.properties.hibernate.default_schema=spar
spring.jpa.database-platform=org.hibernate.spatial.dialect.postgis.PostgisPG95Dialect
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.flyway.enabled = true
spring.flyway.baseline-on-migrate = true
spring.flyway.locations = classpath:db/migration
Expand Down

0 comments on commit bfbdacd

Please sign in to comment.