I was already searching for a solution but I cannot find any.
My problem is that I cannot my Postgres database, called IncomeOutgo, via Hibernate.
I always get this error message when calling my Thymeleaf/HTML website.
So does my application.properties look like
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=none spring.jpa.hibernate.show-sql=true spring.datasource.url=jdbc:postgresql://192.168.0.227:5432/IncomeOutgo spring.datasource.username=postgres spring.datasource.password=XXX #spring.jpa.properties.hibernate.format_sql=true So does my table look like in Postgres (DBeaver):
And last but not least so does my Domain/Entity look like:
@Data @NoArgsConstructor @AllArgsConstructor @Builder @Entity @Table public class IncomeOutgo extends AbstractPersistable<Long> { @Version @Column(name ="id") private Long id; @Column(name="dayofweek") private Date dayofweek; @Size(min = 5, max = 50) @Column(name ="person") private String person; @Min(0) @Column(name ="version") private Integer version; @Column(name="income") private int income; @Column(name="outgo") private int outgo; } Maybe, someone can tell me what my error is?
Thanks in advance!



@Table(name="incomeoutgo", schema="IncomeOutgo")I guess you already checked the grants on the table.@Table(name="\"incomeoutgo\"")