From: Oleg B. <ph...@ph...> - 2004-12-27 10:32:53
|
Hello! On Sun, Dec 26, 2004 at 01:07:07AM +0200, Ksenia Marasanova wrote: > Here is another bug. The attached script produces this sql: > SELECT employee.id, FROM employee WHERE 1 = 1 That one is easy to understand and easy to fix, if it needs to be fixed at all. The problem is not related to inheritance. You've created a table (Employee) that does not have any column - only id. And SQLObject dislikes such a table. With a reason - why does anyone would want a table with only an id column? What is your use case for such a table? Do you want to mark some persons as employees, but don't want to add columns? If there is no a reasonable use case for a columnless table there is no bug to fix - just add a column to tha table Employee and all will work again. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |