db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustavo Fernandez <...@zylk.net>
Subject problems with templates MapBuilder.vm Peer.vm
Date Wed, 20 Sep 2006 19:17:18 GMT

I think that there is a problem with the torque 3.2 configuration. If
you use the properties

torque.subpackagePeer = model
torque.subpackageObject = model
torque.subpackageMap = model.map
torque.subpackageManager = model
torque.subpackageBean = model.bean
toruqe.subpackageBaseBean = model.bean
torque.subpackageBase = model

in the build.properties the code generated by torque-gen throw a
runtime-error (NotClassFoundError).

After cheking the templates I found the next line in MapBuilder.vm

> "${package}.map.${table.JavaName}MapBuilder";

and I think the correct line would be something like:


The same stuff  in Peer.vm

> ${package}.$table.JavaName ${package}.$child.ClassName

with the corresponding corrections:

< ${packageObject}.$table.JavaName
< ${packageObject}.$child.ClassName

When I change these lines the exception dissapear.  Is it a bug or a
missing configuration?

Best wishes from Bilbao

Gustavo Fernandez Gomez
zylk.net S.L.L. - Iniciativas Tecnologicas
Herramientas web - Sistemas - Software
tfno :  +34 944272119
fax  :  +34 946054936
movil:  +34 637546184
email: gus@zylk.net
web  : http://www.zylk.net

Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede
contener informacion confidencial, siendo para uso exclusivo del
destinatario, quedando prohibida su divulgacion copia o distribucion a
terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido
este mensaje erroneamente, se ruega lo notifique al remitente y proceda
a su borrado.Gracias por su colaboracion.

This message, and in the case of any file annexed to it, can have
confidential information, and it is exclusively for the use of the
address of the message. It is strictly forbidden to spread a copy or
distribute to third parties, without the express order of the sender. If
you have received this message mistakenly, we request you to notify to
the sender, and please be sure to erase it. Thank you for your

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message