|Subject||Re: [Firebird-Java] hibernate foreign key creation error|
> GDSCODE 335544852 isn't in The Firebird Book either.Vlad Horsun commented on this one privately. This code was introduced in FB2
and means that data types of the primary key column and the referencing
column are different. It is no longer allowed to create foreign key
constraint if data types differ.
So, in order to solve the issue, Marco has to change the Hibernate mappings
to use same data type both for primary and foreign key columns.