Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7274

Hibernate Ant Code Generation -> for Console Configuration if "Property file" is empty -> incorect script generated

XMLWordPrintable

      1) Create Hibernate Console Configuration with "Database connection" with some Eclipse Connection Profile & "Property file" field should be empty;
      2) Create some Hibernate Codegen config which is use prev. Hibernate Console Config.;
      3) Export Codegen config created at step 2 to Ant codegen script;

      properties file content look like this:
      hibernate.connection.driver_class=${hibernate.connection.driver_class}
      hibernate.connection.url=${hibernate.connection.url}
      hibernate.connection.username=${hibernate.connection.username}
      hibernate.connection.password=${hibernate.connection.password}
      hibernate.dialect=${hibernate.dialect}

      • this is wrong.

              vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
              vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: