On Fri, 24 Nov 2000, Stefan Guenther wrote:

> >
> > >
> > > * Should we hear the comments from that guy about Informix, and
> > >   use TB, TRB or TRBN as a prefix (object name lengths) instead
> > >   of TURBINE?
> >
> > How about the following:
> > Torque could be changed to shorten the names of db-objects to
> > a specified
> > length.
> 
> Also there was no reaction on this following this explanation is a
> patch,which opens the possibility to get a shortened name for the database
> objects. The process is controlled by an optional parameter '
> maximumLength="18"' for the targets 'project-om' and 'project-sql' in
> torque.xml.
> The classes used in the generation process,  expose a new property
> "mangledName", which contains a shortened name. Using this property in the
> templates will not change the generated code, if the property is not set in
> the ant-target, or is set to a larger value as the longest table name (btw
> it defaults to 32).
> To get it completely working the templates have to be changed accordingly.
> For the sql-templates this is no problem, because they are kept in distinct
> directories for each db-system, so in this part, it could be done only for
> informix. But it has also be done for the peer generation.
 
I must have missed these messages. I will look at the patches
more closely tomorrow. Sorry, but could you summarize the
problem again. Is this Informix specific? I would just
like to get a better understanding before I apply any
patches. My mail has a mind of its own, it appears I
missed this discussion. My apologies.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to