Running generator I get
Changed log level to "debug" made clear that some tables have been
processed, and that error occures for specific table.
Since I do not need all table available in the specified db scheme, I
have a question how to specify a set of tables for which generation
should be done?
Or the generation is done always for whole scheme, that is for all
tables defined in this scheme?
I also fixed the docs for the next release so that the information can also
be found on documentation/orm-reference/defining-the-schema.html
(which is where I'd expect the users to look)
> Running generator I get
> at org.apache.torque.generator.source.SourceImpl.getRootElement
> Changed log level to "debug" made clear that some tables have been
> processed, and that error occures for specific table.
> Since I do not need all table available in the specified db scheme, I
> have a question how to specify a set of tables for which generation
> should be done?
> Or the generation is done always for whole scheme, that is for all
> tables defined in this scheme?
Currently, it is not possible to run the schema generation for specific
However, I have fixed the NullPointerException in the trunk (it was thrown
when an unknown datatype was encountered)
So if you want you can check out the current trunk, build and install it
and then try again withj the 4.1-SNAPSHOT maven plugin.
> 2013/9/12 Thomas Fox <[hidden email]>
> > > is there a way to generate schema.xml from existing db schema (this
> > > be prefered way) or from existing POJOs (entities)?
> > Yes.
> > For maven, fgenerate the schema from the database using jdbc metadata