Subject | Re: [Firebird-Java] hibernate foreign key creation error |
---|---|
Author | Roman Rokytskyy |
Post date | 2006-01-20T21:43:15Z |
> 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.
Roman