Hi,

I am working with Turbine 20000810.

I am now try to use Torque. Also I want to use another database other then
the default database.

The automatic generated code contains this line:

        dbMap = DBBroker.getInstance().getDatabaseMap(DBBroker.DEFAULT);


1. I try to change the template in     torque/config/om/mapBuilder.template
        but no effect. I grep in the code, and find nobody is using this
file. All the codes are in Java classes. What is the use of this template.
Does it mean in future, torque will use this file to generate codes?

2. I do change to a setting in torque.props
            dbUrl = jdbc:mysql://localhost/turbine
    but it still can not work.


--------------------------------------------------------------------------

if Torque can generate a line of

        dbMap = DBBroker.getInstance().getDatabaseMap(<Accoding to some
settings>);

It will be greate to me.


Regards


fanyun




------------------------------------------------------------
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