Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation of classes via command line #33

Open
craciunandreea opened this issue Sep 15, 2017 · 1 comment
Open

Generation of classes via command line #33

craciunandreea opened this issue Sep 15, 2017 · 1 comment

Comments

@craciunandreea
Copy link

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...

@humbertodias
Copy link
Contributor

humbertodias commented Mar 17, 2018

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 #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants