db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker/sequence NativeIdentifierTest.java
Date Sat, 18 Dec 2004 20:33:09 GMT
brj         2004/12/18 12:33:09

  Modified:    src/test/org/apache/ojb/broker/sequence Tag: OJB_1_0_RELEASE
                        NativeIdentifierTest.java
  Log:
  fix problems with mysql innodb
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.10.2.5  +3 -3      db-ojb/src/test/org/apache/ojb/broker/sequence/NativeIdentifierTest.java
  
  Index: NativeIdentifierTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sequence/NativeIdentifierTest.java,v
  retrieving revision 1.10.2.4
  retrieving revision 1.10.2.5
  diff -u -r1.10.2.4 -r1.10.2.5
  --- NativeIdentifierTest.java	26 Nov 2004 19:32:06 -0000	1.10.2.4
  +++ NativeIdentifierTest.java	18 Dec 2004 20:33:09 -0000	1.10.2.5
  @@ -61,13 +61,13 @@
           " DROP CONSTRAINT MAIN_REF_FK";
       private static final String DROP_CONSTRAINT_MYSQL =
           "ALTER TABLE NATIVE_MAIN_OBJECT" +
  -        " DROP FOREIGN KEY";
  +        " DROP FOREIGN KEY MAIN_REF_FK";
   
   
       // Statements for NATIVE_REF_TEST table
       private static final String CREATE_REF_MYSQL =
               "CREATE TABLE NATIVE_REFERENCE_OBJECT (NATIVE_ID int(11) NOT NULL PRIMARY KEY
auto_increment," +
  -            " NAME VARCHAR(250), FK_ID BIGINT, REF_ID int(11), SINGLE_REF_FK BIGINT" +

  +            " NAME VARCHAR(250), FK_ID int(11), REF_ID int(11), SINGLE_REF_FK BIGINT" +

       		" , FOREIGN KEY (FK_ID) REFERENCES NATIVE_MAIN_OBJECT (NATIVE_ID) )";
       private static final String CREATE_REF_HSQL =
               "CREATE TABLE NATIVE_REFERENCE_OBJECT (NATIVE_ID IDENTITY NOT NULL PRIMARY
KEY," +
  
  
  

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