5 Replies Latest reply on Aug 28, 2014 1:50 PM by George Gastaldi

    connection-create-profile does not recognise hibernateDialect

    Gerry Matte Apprentice

      Hello.

      I'm trying to document working examples of the commands I would use to generate a complete forge webapp for an existing MySQL database.

       

      I am using forge 2.7.2.Final on a Windows 7 PC with Oracle Java 1.7.0_67

       

      Using the man page for the command connection-create-profile I created the command I wanted to use:

      connection-create-profile - --name parConnection --driverClass com.mysql.jdbc.Driver --driverLocation C:/s/jclasses/drivers/mysql.jar --hibernateDialect org.hibernate.dialect.MySQL5InnoDBDialect --userName XXXXX --userPassword XXXXXXX --jdbcUrl jdbc:mysql:///par?characterEncoding=UTF-8&characterSetResults=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull --verifyConnection true;

      No matter where I put the --hibernateDialect option, I am always prompted select a dialect from a list.  Does anyone have any suggestions how I can proceed ?