-
1. Re: Error using jpa-generate-entities-from-tables
gastaldi Apr 1, 2016 12:13 AM (in response to misterdee)Hi John,
Yes, the parameter should be --database-tables. I´ll try to reproduce your problem and let you know how it goes.
-
2. Re: Error using jpa-generate-entities-from-tables
misterdee Apr 1, 2016 12:21 AM (in response to gastaldi)If its of any use "--database-tables" does not show up in the list of available parameters when pressing tab after "jpa-generate-entities-from-tables --".
Unfortunately I'm on windows btw.
Another strange behaviour, even if I specify a --connection-profile it will still ask me for details included in it, tho i don't think its related. -
3. Re: Error using jpa-generate-entities-from-tables
gastaldi Apr 1, 2016 12:43 AM (in response to misterdee)The --database-tables parameter should only appear after the connection parameters or the connection profile is provided
-
4. Re: Error using jpa-generate-entities-from-tables
misterdee Apr 1, 2016 12:55 AM (in response to gastaldi)George Gastaldi wrote:
The --database-tables parameter should only appear after the connection parameters or the connection profile is provided
That doesn't happen.
-
5. Re: Error using jpa-generate-entities-from-tables
gastaldi Apr 1, 2016 1:54 AM (in response to misterdee)In this case would you mind opening a bug report in https://issues.jboss.org/browse/FORGE ? Make sure to include the steps to reproduce.
Thank you and sorry for the trouble
-
6. Re: Error using jpa-generate-entities-from-tables
misterdee Apr 1, 2016 11:46 AM (in response to gastaldi)One important thing I forgot to mention: Whenever I start forge I get a warning:
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
MySQL path is defined in
PATH enviroment variable like ";
C:\Program Files\MySQL\MySQL Server 5.1\bin" and is also recognized by windows when using the command line. I also defined a variable called MySQL just in case forge would use it aswell as MYSQL_HOME without any effect.
I forgot to mention this because I know I've jpa-generate-entities-from-tables before in other systems that got the same warning. I mention this because it might be important and I don't want to submit misleading bug report if I've missed something important that can be easily fixed?
-
7. Re: Error using jpa-generate-entities-from-tables
gastaldi Apr 1, 2016 11:52 AM (in response to misterdee)Ah that looks like missing quotes in the Forge.bat script. I appreciate if you could open another JIRA with this information.