I'm mapping a legacy database. The view is read-only.
@Column(name = "book_id", columnDefinition = "uniqueidentifier")
public String getBookId() {
return this.bookId;
}
This gives the error
for column book_id. Found: uniqueidentifier, expected: `uniqueidentifier`
This is using spring boot, JPA with sql server, driver class name com.microsoft.sqlserver.jdbc.SQLServerDriver