|
From: JP P. <jp....@ti...> - 2003-05-25 19:19:55
|
Hi Isabelle, It is effectively the way I suggested. You made also a great job about multithreading. But I have still the same issue. How setting, in practice, for run the live tests. I didn't look for now at the batch you sent to Rod. Is it currently up to date or is a newer way? Regards, Jean-Pierre > -----Message d'origine----- > De=A0: spr...@li... > [mailto:spr...@li...] De la part > de Isabelle Muszynski > Envoy=E9=A0: dimanche 25 mai 2003 18:29 > =C0=A0: spr...@li... > Objet=A0: [Springframework-developer] mysql key generation >=20 > Hi everyone, >=20 > I've rewritten mySQL key generation (MySQLMaxValueIncrementer.java). > KeyBinder is no longer used. For a sample of how to use key generation, > have a look at livetest/JdbcInsertTestSuite.java. >=20 > Your main table (the one for which you want key generation) should not > auto_increment its key. The sequence table, on the other hand, should be > auto_increment. Have a look at createTables in JdbcInsertTestSuite or at > the javadoc for MySQLMaxValueIncrementer.java. >=20 > Please let me know if there still are problems. One of the tests is for > behavior when multithreading, and on my system it succeeds. >=20 > Isabelle >=20 > -- > Isabelle Muszynski > Software Engineer > Zandweellaan 4 > 2660 Antwerpen > Belgium > Tel. 32-(0)3-830 18 54 > Mobile: 32-(0)485 49 50 89 > Email: isa...@me... > Website: www.meta-logix.com >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |