Hi,

Torque was designed so that you can run it multiple times.  Only the Base*
classes will be replaced, leaving the source code that you added to the
derived classes in tact.

~ Leon

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 3:23 PM
Subject: Re: Multiple DBs


> The problem is that I've already run torque .....and I wouldn't like to do
> it again ....
> can you tell me if what I'm doing should work?
>
> Atenciosamente,
>
> Diogo Saad.
> [EMAIL PROTECTED]
> Inter Business Tecnologia e Servi�os
> ----- Original Message -----
> From: "Leon Messerschmidt" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 19, 2001 8:20 AM
> Subject: Re: Multiple DBs
>
>
> > Hi,
> >
> > You should give a name to your db in the .xml schema.
> >
> > <database name="curriculum">
> > ...
> >
> > ~ Leon
> >
> > ----- Original Message -----
> > From: "Jonathan Porterfield" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 19, 2001 12:02 AM
> > Subject: Re: Multiple DBs
> >
> >
> > > I would like to append a little to this question, since it is on the
> same
> > > topic and I have been snooping extensively around the relevant dtd's
> > today.
> > > Per the dtd, it is possible to create more than one database per
> app-data
> > > (document).
> > >
> > > In other words this type of schema description is possible:
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <!DOCTYPE app-data SYSTEM "database.dtd" >
> > > <app-data>
> > >   <database>
> > >     <table>
> > >       <column/>
> > >     </table>
> > >   </database>
> > >   <database>
> > >     <table>
> > >       <column/>
> > >     </table>
> > >   </database>
> > > </app-data>
> > >
> > > Is this correct?
> > >
> > > Would this properly generate not only both databases, but their
> respective
> > > peers classes?
> > >
> > > Humh...
> > >
> > > >From: <[EMAIL PROTECTED]>
> > > >Reply-To: [EMAIL PROTECTED]
> > > >To: <[EMAIL PROTECTED]>
> > > >Subject: Multiple DBs
> > > >Date: Tue, 18 Sep 2001 17:58:17 -0300
> > > >
> > > >I'm trying to make my project work with more than one DB...
> > > >I've been told that I could change the method doBuild( ) in my
> > *MapBuilder
> > > >classes....
> > > >
> > > >It was exactly what I did ....
> > > >
> > > >dbMap = TurbineDB.getDatabaseMap("curriculum");
> > > >
> > > >And I created a new database entry in my conf file
> > > >
> > > >database.curriculum.driver=org.postgresql.Driver
> > >
> >
>
>database.curriculum.url=jdbc:postgresql://postgresql.ibnetwork.com.br:5432/
> > curriculum
> > > >
> > > >
> > > >I got the following exception:
> > > >
> > > >
> > > >[Tue Sep 18 17:39:31 GMT-03:00 2001] -- ERROR --
> Turbine.handleException:
> > > >null
> > > >  Exception:  java.lang.NullPointerException
> > > >  Stack Trace follows:
> > > >  java.lang.NullPointerException
> > > >  at
> > >
> >
>
>org.apache.turbine.util.db.Criteria.containsObjectColumn(Criteria.java:393)
> > > >  at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1111)
> > > >  at
> > >
> >
>
>br.com.ibnetwork.ib.om.BasePessoaPeer.doSelectVillageRecords(BasePessoaPeer
> > .java:265)
> > > >  at
> > >
>br.com.ibnetwork.ib.om.BasePessoaPeer.doSelect(BasePessoaPeer.java:235)
> > > >
> > > >
> > > >
> > > >Atenciosamente,
> > > >
> > > >Diogo Saad.
> > > >[EMAIL PROTECTED]
> > > >Inter Business Tecnologia e Servi�os
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to