> Anil wrote > The sample code contains the foriegn key constraint being built.
Is the Java code you provided the actual Java code that demonstrated the problem? It does not build the foreign key constraint. Your post shows some statements that 'could' be used to build the tables and foreign key constraint but then you also provide sample Java code that also creates the tables but does not create the foreign key constraint. The Java code also executes only one thread. I believe that this is what Jean was referring to also. Are you creating the tables and foreign key constraints prior prior to executing code that performs the inserts or is everything happening in one piece of Java code? Can you post the actual Java code, with the creation of multiple threads, that you are using?
