Why is that foreign key FK_A varchar(255)? I would have expected varchar(8). If I remove the @JoinColumn, I do get varchar(8), but I can no longer give it a name.
How do I get both: varchar(8) and the column being named "FK_A"? Am I doing something wrong here, or is there indeed a problem?
With the two classes
and
the SchemaExport generates the following DDL:
Why is that foreign key FK_A varchar(255)? I would have expected varchar(8). If I remove the @JoinColumn, I do get varchar(8), but I can no longer give it a name.
How do I get both: varchar(8) and the column being named "FK_A"? Am I doing something wrong here, or is there indeed a problem?