Hi,

i use symfony 3.3/doctrine ORM 2.5. We have a Oracle Database with much 
tables and want to reverse engineer it.

So i try

   php bin/console doctrine:database:import AppBundle annotation 
--filter=MyTable --force

and

   php bin/console doctrine:database:import AppBundle annotation 
--filter="/^MyTable$/" --force

But allways Doctrine scans all tables. I see in output logging selects for 
each table (and also for views).

There are two problems:

 1)  It's very time consuming every time to scan all Tables (30 minutes or 
so)

 2) When there is another table with no primary key (which i dont want to 
be reverse engineered) the command aborts with errormessage "cant reverse 
enginner a table without primary key"

I can temporary "fix" the problkem when i put a "schema_filter" line inot 
config.yml...but this not dynamical (a user have to put it every time into 
that file...and cant use the --filter-Option).

Thanks for your help :)

Best regards,
  Kai.

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to