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:38 GMT
brj         2004/12/18 12:33:38

  Modified:    src/test/org/apache/ojb/broker/sequence
                        NativeIdentifierTest.java
  Log:
  fix problems with mysql innodb
  
  Revision  Changes    Path
  1.21      +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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- NativeIdentifierTest.java	28 Nov 2004 00:37:19 -0000	1.20
  +++ NativeIdentifierTest.java	18 Dec 2004 20:33:38 -0000	1.21
  @@ -60,13 +60,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