The column name X was not found in this ResultSet - JPA
So I have this Company entity, I'm having an error every time I add a company. I'm using PostgreSQL for my database and I use double quote literals to map the columns of the table in pascalcase. Company entity: @Entity @XmlRootElement public class Company { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name="\"Id\"") private Long id; @Column(name="\"Name\"") private String name; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } } Company Endpoint: @Sta
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.