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

jpa-generate-entities-from-tables does not work with oracle db

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 3.x Future
    • 3.0.0.Alpha3
    • None
    • None
    • Hide

      jpa-generate-entities-from-tables --driverLocation /opt/ojdbc7.jar --userName my_name --userPassword my_pwd --hibernateDialect org.hibernate.dialect.Oracle10gDialect --jdbcUrl jdbc:oracle:thin:@//my_host.at:1521/my_sid --saveUserPassword --verifyConnection --driverClass oracle.jdbc.driver.OracleDriver --databaseTables *

      Show
      jpa-generate-entities-from-tables --driverLocation /opt/ojdbc7.jar --userName my_name --userPassword my_pwd --hibernateDialect org.hibernate.dialect.Oracle10gDialect --jdbcUrl jdbc:oracle:thin:@//my_host.at:1521/my_sid --saveUserPassword --verifyConnection --driverClass oracle.jdbc.driver.OracleDriver --databaseTables *

      after jpa-generate-entities-from-tables the following error occures. It is not possible to choose your schema. All schemes are searched. You have to wait 15min for the error-result

      **ERROR** Duplicate class name 'at.htl.rev_eng_db.model.Dept' generated for 'org.hibernate.mapping.Table(HE120016.DEPT)'. Same name where generated for 'org.hibernate.mapping.Table(HE120016.DEPT)'

            Unassigned Unassigned
            thomas.stuetz@gmx.at Thomas Stütz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: