How can we help you today? How can we help you today?
MarkEHansen

Activity overview

Latest activity by MarkEHansen

Upgrading to Spring Boot 3.1.6 resolved the compatibility issue. However when I launch my Java Spring Boot application pointing to an Oracle 12.2 database, I see two issues: First, is the following message is written to the console log: Oracle 12.2 is outside of Redgate community support. See https://rd.gt/468B6ni for details It does create the history table in the database, but then the initial migration record is not created in that database. I see these messages: Creating Schema History table "XT"."FLYWAY_SCHEMA_HISTORY" with baseline ... Successfully baselined schema with version: 1 But when I inspect that table, there are no records. I don't have any migrations yet, but when I run the application pointing at a later Oracle database version, the history table is created and the initial base migration record is created. I created a migration script and started the application again. This time, it created the history table, created the table referenced in the migration script but then got an error when trying to insert the migration record into the history table: SQL State  : 42000 Error Code : 1950 Message    : ORA-01950: no privileges on tablespace 'USERS' 2023-11-24T05:38:34,711-08:00 [main] INFO  o.a.catalina.core.StandardService - Stopping service [Tomcat] 2023-11-24T05:38:34,723-08:00 [main] INFO  o.s.b.a.l.ConditionEvaluationReportLogger - Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2023-11-24T05:38:34,738-08:00 [main] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Unable to insert row for version '2.0' in Schema History table "XT"."FLYWAY_SCHEMA_HISTORY" Looking at the history table, it contains no records, not even the base migration version. I'm running the application with the following properties: spring.flyway.enabled=true spring.flyway.locations=classpath:/db/migration spring.flyway.defaultSchema=XT spring.flyway.table=FLYWAY_SCHEMA_HISTORY spring.flyway.baselineVersion=1 spring.flyway.baselineOnMigrate=true spring.flyway.user=our admin user spring.flyway.password=our admin user's password / comments
Upgrading to Spring Boot 3.1.6 resolved the compatibility issue. However when I launch my Java Spring Boot application pointing to an Oracle 12.2 database, I see two issues:First, is the following ...
0 votes
When I add in the dependency for flyway-database-oracle 10.0.0, the gradle refresh is successful, but upon application launch I get the following: *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a method that does not exist. The attempt was made from the following location:     org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$FlywayConfiguration.configureProperties(FlywayAutoConfiguration.java:254) The following method did not exist:     'org.flywaydb.core.api.configuration.FluentConfiguration org.flywaydb.core.api.configuration.FluentConfiguration.licenseKey(java.lang.String)' The calling method's class, org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$FlywayConfiguration, was loaded from the following location:     jar:file:/C:/Users/Mark.Hansen/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/3.1.5/42a5b2ee98f700fba8d8c88d4af7b23266f1de0f/spring-boot-autoconfigure-3.1.5.jar!/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class The called method's class, org.flywaydb.core.api.configuration.FluentConfiguration, is available from the following locations:     jar:file:/C:/Users/Mark.Hansen/.gradle/caches/modules-2/files-2.1/org.flywaydb/flyway-core/10.0.0/68984a8022f0daf4220a2e1605547684bea1e193/flyway-core-10.0.0.jar!/org/flywaydb/core/api/configuration/FluentConfiguration.class The called method's class hierarchy was loaded from the following locations:     org.flywaydb.core.api.configuration.FluentConfiguration: file:/C:/Users/Mark.Hansen/.gradle/caches/modules-2/files-2.1/org.flywaydb/flyway-core/10.0.0/68984a8022f0daf4220a2e1605547684bea1e193/flyway-core-10.0.0.jar Action: Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$FlywayConfiguration and org.flywaydb.core.api.configuration.FluentConfiguration / comments
When I add in the dependency for flyway-database-oracle 10.0.0, the gradle refresh is successful, but upon application launch I get the following:***************************APPLICATION FAILED TO ST...
0 votes
Integrating Flyway with my Spring Boot Java application - unsupported Oracle version 12.2
I am trying to integrate Flyway community edition into my Spring Boot 3.1.0 application using Gradle to configure/build.I have added the following in my dependencies section of the build.gradle fil...
2 followers 15 comments 0 votes