db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mka...@apache.org
Subject cvs commit: db-ojb readme_torque_patch.txt
Date Wed, 02 Mar 2005 13:45:06 GMT
mkalen      2005/03/02 05:45:06

  Modified:    lib      Tag: OJB_1_0_RELEASE torque-3.0.2.jar
               src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        BlobTest.java
               .        Tag: OJB_1_0_RELEASE readme_torque_patch.txt
  Log:
  Patch CLOB/BLOB types in Torque "hypersonic"-profile to avoid a warning when running regression
tests (a no-op for functionality and testcases since BlobTest is skipped for hsqldb).
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.4.2   +10 -10    db-ojb/lib/Attic/torque-3.0.2.jar
  
  	<<Binary file>>
  
  
  No                   revision
  No                   revision
  1.9.2.3   +20 -4     db-ojb/src/test/org/apache/ojb/broker/BlobTest.java
  
  Index: BlobTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/BlobTest.java,v
  retrieving revision 1.9.2.2
  retrieving revision 1.9.2.3
  diff -u -r1.9.2.2 -r1.9.2.3
  --- BlobTest.java	25 Feb 2005 21:00:19 -0000	1.9.2.2
  +++ BlobTest.java	2 Mar 2005 13:45:06 -0000	1.9.2.3
  @@ -1,13 +1,28 @@
   package org.apache.ojb.broker;
   
  -import org.apache.ojb.broker.platforms.PlatformHsqldbImpl;
  +/* Copyright 2002-2004 The Apache Software Foundation
  + *
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
  + *
  + *     http://www.apache.org/licenses/LICENSE-2.0
  + *
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
  + */
  +
   import org.apache.ojb.junit.PBTestCase;
  +import org.apache.ojb.broker.platforms.PlatformHsqldbImpl;
   
   import java.io.Serializable;
   
   /**
  - * This TestClass tests storimg and retrieving Objects with BLOB/CLOB Attributes.
  - * Does currently not work with HSQLDB, as it doen't support Blobs/Clobs.
  + * This TestClass tests storing and retrieving Objects with BLOB/CLOB Attributes.
  + * @version $Id$
    */
   public class BlobTest extends PBTestCase
   {
  @@ -33,7 +48,7 @@
   
           String platformClass = getPlatformClass();
           /*
  -        hsqldb does not support Blob/Clob, so we skip test for this DB
  +        hsqldb<1.7.2 does not support Blob/Clob, so we skip test for this DB
           */
           if (platformClass.equals(PlatformHsqldbImpl.class.getName()))
           {
  @@ -169,4 +184,5 @@
               this.id = id;
           }
       }
  +
   }
  
  
  
  No                   revision
  No                   revision
  1.1.2.2   +15 -6     db-ojb/Attic/readme_torque_patch.txt
  
  Index: readme_torque_patch.txt
  ===================================================================
  RCS file: /home/cvs/db-ojb/Attic/readme_torque_patch.txt,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- readme_torque_patch.txt	25 Feb 2005 21:00:19 -0000	1.1.2.1
  +++ readme_torque_patch.txt	2 Mar 2005 13:45:06 -0000	1.1.2.2
  @@ -6,20 +6,29 @@
   
    What has been done?
   
  - Two changes:
  + Changes:
   
    1. A new platform "oracle9" have been patched into the Torque 3.0.2 JAR by
     copying the files for the "oracle" platform and in sql/base/oracle9/db.props
     replacing the following line:
  -  TIMESTAMP = DATE
  +   TIMESTAMP = DATE
     with:
  -  TIMESTAMP = TIMESTAMP
  +   TIMESTAMP = TIMESTAMP
   
    2. The "sapdb" platform have been patched by changing sql/base/sapdb/db.props
     and replacing the following line:
  -  CLOB = LONG UNICODE
  +   CLOB = LONG UNICODE
     with:
  -  CLOB = LONG VARCHAR
  +   CLOB = LONG VARCHAR
  +
  + 3. The "hypersonic" platform have been patched by changing
  +  sql/base/hypersonic/db.props and replacing the following lines:
  +   BLOB =
  +   CLOB =
  +  with:
  +   BLOB = LONGVARBINARY
  +   CLOB = VARCHAR
  +
   
   
    Why has this been done?
  
  
  

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


Mime
View raw message