Subject RE: [Firebird-Java] hibernate foreign key creation error
Author Rick Debay
> It is no longer allowed to create foreign key constraint if data types
differ.

Thanks, that's a good thing to check before we migrate.

-----Original Message-----
From: Firebird-Java@yahoogroups.com
[mailto:Firebird-Java@yahoogroups.com] On Behalf Of Roman Rokytskyy
Sent: Friday, January 20, 2006 4:43 PM
To: Firebird-Java@yahoogroups.com
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.

Roman




Yahoo! Groups Links