iciql
iciql copied to clipboard
Generation of classes via command line
Hello. I currently try to make the Model Generation in Linux via command line (CentOS) to test your tool in a Rest application with Springboot. I use the command as on the website:
java -cp iciql.jar:postgresql-9.3-1104.jdbc4.jar -url "jdbc:postgresql://localhost:5432/transtatedb" -username ..... (details)
I get an error as unrecognized -url. I checked all files for models and it was defined as such. I tried also with or withour "", with just link...
Hi, I think that you should call the class com.iciql.util.GenerateModels first. Eg.
java -cp iciql-2.2.1-SNAPSHOT.jar:mysql-connector-java.jar \
com.iciql.util.GenerateModels \
-url "jdbc:mysql://localhost:3306/sakila" \
-user root \
-password root \
-package com.sakilla.model \
-folder com/sakilla/model
Check out here https://github.com/gitblit/iciql/pull/35