Its really not a hard change to make, if anyone used the old multi-db
code.  It is pretty difficult to support having both appdata and
database as possible outer tags.  If we could find a way to support two
dtd's, there are probably 20 other little gotcha's we will have to sort
out as this functionality has not been supported for quite a while.

john mcnally 

On Mon, 2002-07-29 at 23:48, Martin Poeschl wrote:
> John McNally wrote:
> > when appdata was the outermost tag, it was possible to define multiple
> > db's in one file.  This was scrapped in favor of processing multiple xml
> > files and having <database> as the outermost element.  You can remove
> > the method.
> 
> do we need support for the <appdata> tags??
> 
> martin
> 
> > 
> > john mcnally
> > 
> > On Mon, 2002-07-29 at 21:46, [EMAIL PROTECTED] wrote:
> > 
> >>stephenh    2002/07/29 21:46:39
> >>
> >>  Modified:    src/java/org/apache/torque/engine/database/model
> >>                        AppData.java
> >>  Log:
> >>  Refactored method to better name. Though it doesn't seem to be used anywhere.
> >>  
> >>  Revision  Changes    Path
> >>  1.13      +2 -2      
>jakarta-turbine-torque/src/java/org/apache/torque/engine/database/model/AppData.java
> >>  
> >>  Index: AppData.java
> >>  ===================================================================
> >>  RCS file: 
>/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/engine/database/model/AppData.java,v
> >>  retrieving revision 1.12
> >>  retrieving revision 1.13
> >>  diff -u -r1.12 -r1.13
> >>  --- AppData.java  16 Jul 2002 14:57:27 -0000      1.12
> >>  +++ AppData.java  30 Jul 2002 04:46:39 -0000      1.13
> >>  @@ -237,7 +237,7 @@
> >>       /**
> >>        * Returns whether this application has multiple databases.
> >>        */
> >>  -    public boolean getMultipleDatabases()
> >>  +    public boolean hasMultipleDatabases()
> >>       {
> >>           return (dbList.size() > 1);
> >>       }
> >>  
> >>  
> >>  
> >>
> >>--
> >>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
> >>
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



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

Reply via email to