skip to Main Content

SpringBoot + PostgreSQL "Column does not exist"

I have been trying to retrieve all data from the table but getting "Caused by: org.postgresql.util.PSQLException: ERROR: column tenantenti0_.module_name does not exist" I have tried all the below still the issue persists: Adding in application.properties file --> spring.jpa.properties.hibernate.default_schema=${your-default-schema-name} No camel…

VIEW QUESTION

How to insert Geo location using spring data JPA – Mysql

I am trying to insert Geo location into MySql database using spring data JPA. MySql Version : 5.7.17 For spring boot I have used 2.5.6 boot version and below dependency I have used <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId>…

VIEW QUESTION

Azure spring boot JPA

Am using azure keyvault to store my db username , url & password. I am using <dependency> <groupId>com.azure.spring</groupId> <artifactId>spring-cloud-azure-starter-keyvault-secrets</artifactId> </dependency> this dependency to read the values configured in keyvaults in my spring boot application. But am getting Failed to determine…

VIEW QUESTION

Triple nested JPA Entity to JSON – Spring Boot Project

So, I have 3 @Entity classes class Campaign { @Id private long campaignId; //Other fields @OneToMany(mappedBy = "campaign",cascade=CascadeType.ALL) private Set<Question> questions; } class Question { @Id private long questionId; //Other fields @OneToMany(mappedBy = "question",cascade=CascadeType.ALL) private Set<Choices> choices; @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="CAMPAIGN_ID") private…

VIEW QUESTION
Back To Top
Search