db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeme Praks <ne...@apache.org>
Subject Re: separate torque generator
Date Thu, 20 Feb 2003 13:25:18 GMT
As there seems to be no activity on general@db.apache.org, 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:

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:

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?


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

View raw message