Error added: 2008-03-05T11:53:06Z
Errr, no â my Previous answer is not working... I found out it worked independently of String/char[] thing â when: @Id // or whatever @Column(columnDefinition = "bpchar") private String columnname;
If you can not alter your table structure, make modifications in your Java class: use char[] rather than String i.e. ////////////////////// @Id // or whatever private String columnname; ////////////////////// becomes ////////////////////// @Id // or whatever private char[] columname; //////////////////////
Change the type of columnname in public.tablename from character to character varying
If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people
struggling with this too.
If you want to be notified via email when this is solved, enter your email address here: