[odb-users] Polymorphic code generation problem on PostgreSQL

Boris Kolpackov boris at codesynthesis.com
Mon Dec 15 06:55:48 EST 2014


Hi Mikhail,

Tomilov.Mikhail <Mikhail.Tomilov at infotecs.ru> writes:

>    7:В  LEFT JOIN "company" AS "SenderCompany_company" ON
>    "SenderCompany_contrator"."id" = "Sender"."contractor_id"

This should be:

     "SenderCompany_company"."id" = "Sender"."contractor_id"


> Is it entities declaration problem or ODB bug?

That's a bug in ODB. Thanks for the report and the test case! The
fix is in the repository:

scm.codesynthesis.com/?p=odb/odb.git;a=commit;h=0e1f5c435f4f1f99211654c30bf363f7ceed8ef1

I can also build you a pre-release binary if you would like (let
me know which platform).

Boris



More information about the odb-users mailing list