Re: [symfony-devs] Re: Generate entities from existing database

2011-04-29 Thread ryan weaver
Hi Robert- I can't answer your question, but it looks like a bug. Your schema may in fact be too complicated for Doctrine to reverse engineer it (I have no idea), but at the very least - it should probably throw an exception if it gets into the place (like in your example) where there is an undefi

[symfony-devs] Re: Generate entities from existing database

2011-04-29 Thread Robert Campbell
This is the ddl for my database. CREATE OR REPLACE FUNCTION manage_object() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE object_entity_name TEXT; begin IF (TG_OP = 'INSERT') THEN IF NEW.id IS NULL THEN insert into object (entity_name) values (TG_RELNAME) RETURNING id INTO NEW.id; ELSE select

[symfony-devs] Re: Generate entities from existing database

2011-04-29 Thread Robert Campbell
I would appreciate some feedback here. is this a known issue? etc... -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this