I have a column named bookedseat
which is of type String[]
:
@Column(name="bookedseat")
private String[] bookedseat;
I also defined a constructor, and getter and setter methods, but I get the following error:
ERROR: column "bookedseat" is of type text[] but expression is of type bytea