db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/model Column.java
Date Tue, 18 Nov 2003 18:21:48 GMT
mpoeschl    2003/11/18 10:21:48

  Modified:    src/generator/src/java/org/apache/torque/engine/database/model
                        Column.java
  Log:
  add scale to XML output (toString())
  
  Revision  Changes    Path
  1.12      +7 -2      db-torque/src/generator/src/java/org/apache/torque/engine/database/model/Column.java
  
  Index: Column.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/Column.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Column.java	18 Nov 2003 17:58:57 -0000	1.11
  +++ Column.java	18 Nov 2003 18:21:48 -0000	1.12
  @@ -650,13 +650,18 @@
               result.append(" required=\"false\"");
           }
   
  -        result.append(" type=\"").append (torqueType).append('"');
  +        result.append(" type=\"").append(torqueType).append('"');
   
           if (size != null)
           {
               result.append(" size=\"").append(size).append('"');
           }
   
  +        if (scale != null)
  +        {
  +            result.append(" scale=\"").append(scale).append('"');
  +        }
  +        
           if (defaultValue != null)
           {
               result.append(" default=\"").append(defaultValue).append('"');
  
  
  

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


Mime
View raw message