db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/platform PlatformInterbaseImpl.java
Date Mon, 18 Jul 2005 04:13:22 GMT
tfischer    2005/07/17 21:13:22

  Modified:    src/generator/src/java/org/apache/torque/engine/platform
                        PlatformInterbaseImpl.java
  Log:
  added mapping for BIT, specified string size for booleanchar
  
  Revision  Changes    Path
  1.6       +3 -2      db-torque/src/generator/src/java/org/apache/torque/engine/platform/PlatformInterbaseImpl.java
  
  Index: PlatformInterbaseImpl.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/platform/PlatformInterbaseImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PlatformInterbaseImpl.java	22 Feb 2004 06:27:19 -0000	1.5
  +++ PlatformInterbaseImpl.java	18 Jul 2005 04:13:00 -0000	1.6
  @@ -41,8 +41,9 @@
        */
       private void initialize()
       {
  +        setSchemaDomainMapping(new Domain(SchemaType.BIT, "NUMERIC", "1", "0"));
           setSchemaDomainMapping(new Domain(SchemaType.CHAR, "VARCHAR"));
  -        setSchemaDomainMapping(new Domain(SchemaType.BOOLEANCHAR, "VARCHAR"));
  +        setSchemaDomainMapping(new Domain(SchemaType.BOOLEANCHAR, "VARCHAR", "1"));
           setSchemaDomainMapping(new Domain(SchemaType.LONGVARCHAR, "VARCHAR"));
           setSchemaDomainMapping(new Domain(SchemaType.VARBINARY, "BLOB"));
       }
  
  
  

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