Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Hello,
I use M=
iddlegen to generate xml file for hibernate out of a database schema.
=
I would also like to generate Java source class with setters and getters =
for every database table from the database schema.
The following i=
I am using a java plug in.
I wrote a sma=
ll template.
Is this the right way to do this?
If yes, here=
Only the context objects $table and $tables are av=
ailable. It would be nice to have
a $javaTable in the context to know =
which Java types to use to generate the Java class.
For now I am h=
ard coding this information in the template and I do not feel that it is =
the right thing to do...
Can any one guide me in the right directi=
on? I have attached the template I started.
Thanks
Mario La=
ureti
Loading...