shivan42 / CodeGenUnderStorIO

Codegen for StorIO entity classes to wotk with SQLite
10 stars 3 forks source link

Handling new lines within create statements #3

Closed kvithayathil closed 8 years ago

kvithayathil commented 8 years ago

Great utility! One bug i'm seeing is that the classes fail to generate columns if the create statements have been broken up by new lines e.g.

CREATE TABLE some_table ( _id INTEGER PRIMARY KEY AUTOINCREMENT, type_id TEXT UNIQUE, );

There's a couple of sql tools that generate statements in this format.

shivan42 commented 8 years ago

@jedikv You'll right, it's not good. Fixed! Please check the new solution

kvithayathil commented 8 years ago

Cool. Thanks for the fast response! Is that available on the latest jar? I had trouble trying to set this project up in Intellj

Edit: nevermind I see the updated jar. Seems to be working 👍

shivan42 commented 8 years ago

Very well. Yes, as you already saw the .jar file at sample folder was updated too

so, I close the issue, thank you for participating