On Sat, Aug 22, 2009 at 09:19:59PM +0400, Oleg Broytmann wrote: > On Sat, Aug 22, 2009 at 06:55:30PM +0200, Petr Jake?? wrote: > > I am just wondering why the foreignkey constraint is not created > > Because SQLObject hasn't got an FK implementation for Firebird. FOREIGN > KEYs require different dialects. See col.py, class SOForeignKey. Add a > method _firebirdType().
Oops, no. First, add necessary call in FirebirdConnection.createReferenceConstraint(), then SOForeignKey.firebirdCreateReferenceConstraint(). Oleg. -- Oleg Broytmann http://phd.pp.ru/ p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss