> ....
> >> - MAIN problem here: The generator creates invalid SQL for MySQL. From
> >> what I understand, the $stringUtils.chop() call is supposed to remove
> >> the last comma of the part of a statement which it fails to do for
some
> >> reason. I'm lost with this one.
> >
> > I cannot reproduce this also. From a fresh checkout, install and mvn
test,
> [...]
> > Can you please try with maven 2.0.9 ?
> > Which jvm do you use ? I use jdk1.6.0_20.
>
> I'm on Mac OS X 10.6 with jdk 1.6.0_26.
>
> The SQL looks like this:
>
> --8<--
> CREATE TABLE a
> (
> a_id INTEGER NOT NULL,
> name VARCHAR(50) NOT NULL,
> PRIMARY KEY(a_id),
> );
> --8<--
>
> What is $stringUtils.chop($pk,2) supposed to do? Mac OS has UNIX-style
> line-endings, if that matters.
I believe I have fixed the problem. I currently have no system with unix
style line endings, so can you please check ?
Thanks,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]