Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2636

No specified tables error

    XMLWordPrintable

Details

    • Hide
      1. Create new project
      2. Run jpa-generate-entities-from-tables --database-tables * --jdbc-url "jdbc:mysql://localhost:3306/validDB" --user-name root --user-password 1234 --driver-location "validpath\mysql-connector-java-5.1.6-bin.jar" --driver-class com.mysql.jdbc.Driver;
      Show
      Create new project Run jpa-generate-entities-from-tables --database-tables * --jdbc-url "jdbc:mysql://localhost:3306/validDB" --user-name root --user-password 1234 --driver-location "validpath\mysql-connector-java-5.1.6-bin.jar" --driver-class com.mysql.jdbc.Driver;

    Description

      When I try to execute jpa-generate-entities-from-tables, using:
      Using windows 10 + mysql:

      jpa-generate-entities-from-tables  --database-tables * --jdbc-url "jdbc:mysql://localhost:3306/validDB" --user-name root --user-password 1234 --driver-location "validpath\mysql-connector-java-5.1.6-bin.jar" --driver-class com.mysql.jdbc.Driver;
      

      Using fedora 23 + postgres:

      jpa-generate-entities-from-tables --database-tables * --user-name validuser --user-password validpassword --jdbc-url jdbc:postgresql://localhost:5432/validDB --driver-location validpath/postgresql-9.4-1201-jdbc4.jar --verify-connection y --save-user-password y --driver-class 0 --hibernate-dialect 9
      

      Forge asks me again to enter all of information specified in the command, I do so, and then says "At least one database table must be specified".

      Also the "--database-tables" parameter does not show up in the list of available parameters when pressing tab after having specified a connection profile and/or specifying connection parameters. This might possibly be related to this [issue] (https://issues.jboss.org/projects/FORGE/issues/FORGE-2635?filter=allopenissues).

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            misterdee_jira John Spencer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: