3 Replies Latest reply on Dec 13, 2016 8:01 AM by George Gastaldi

    jpa-generate-entities-from-tables woes

    Mike Finn Apprentice

      Using 3.4.0 Final, CLI, trying to generate from tables in an Oracle DB. For argument "database-tables", any argument besides * gives the error "***ERROR*** At least one database table must be specified". Even if I provide a single table name, same error.

       

      When I do use *, it appears that the generator is trying to reverse engineer every single table on the entire catalog (all schemas). I only know that because it does fail on a table that is an a schema that is not owned by the username I am using. I have tried prefixing * (and single table name) with the schema name, but it does not work.

       

      --database-tables * <-- Does every table in the database (all schemas).

      --database-tables FOO_TABLE <-- Errors with "***ERROR*** At least one database table must be specified"

      --database-tables FOO_SCHEMA.* and --database-tables FOO_SCHEMA.FOO_TABLE <-- Errors with "***ERROR*** At least one database table must be specified"

       

      Has anyone successfully used this command with an Oracle database?

       

      Any help appreciated.