Skip to content
Advertisement

Pom.xml and Properties for org.springframework.boot 2.1.8.RELEASE Redshift Cluster V1.0.10393

The first error I’m getting

Invalid operation: SQL command “drop sequence if exists hibernate_sequence” not supported

Further down in the exceptions I see the following. I assume I have to change the way indexes are incremented in hibernate_sequence.

JavaScript

While building a java Spring Boot application, seeking to connect to and create a new redshift DB Cluster V1.0.10393.

What are the POM and properties files supposed to look like? I’m transitioning from a working PostgreSQL database to a redshift.

Current Properties

JavaScript

Current POM

JavaScript

Regards Conteh

Advertisement

Answer

The errors I was getting were occurring because I was using generated ID

JavaScript

I’ve replaced those with @EmbeddedId. As well as named indexes were removed.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement