As there seems to be no activity on [EMAIL PROTECTED], I'm
re-posting it here...
I started to check out the decoupled torque generator... and I have a
question about it...
OJB generator has a bunch of templates like these:
Control.vm
ExtensionInterface.vm
ExtensionObject.vm
ExtensionProxyInterface.vm
Interface.vm
Object.vm
ProxyInterface.vm
What are they all used for?
I understand that I would probably like to generate an interface and a
simple implementation (and possibly an extension to both of these), but
what are the rest (proxy stuff)?
Also, I would like to be more in control over the resulting class names.
Right now it generates something along the lines:
${basePrefix}${table.JavaName}Interface
I would be interested in making this a configurable pattern that could
use variable substitution on the fly.
So, instead of
com.acme.om.BaseUser (base class)
com.acme.om.User (extension class)
com.acme.om.BaseUserInterface (base interface)
com.acme.om.UserInterface (extension interface)
I could have for example this:
com.acme.om.base.UserImpl (base class)
com.acme.om.UserImpl (extension class)
com.acme.om.base.User (base interface)
com.acme.om.User (extension interface)
How about that?
Anybody else interested?
Neeme
Martin Poeschl ::
Martin Poeschl wrote:
i'll start a wiki page ... so people can add what they want the
generator to do ..
martin
http://nagoya.apache.org/wiki/apachewiki.cgi?DbGenerator
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]