I downloaded the example code which comes together with the article found in TSS "Introduction to Hibernate". The sample code is based on two entities called Team and Player. While trying to run testTeam, it seems that sometime 2 player records are inserted into the database, but sometime only the 1st one is inserted.
I use MySQL as the DB, and run the example on Windows.
What's the problem? Anyone has also encountered this?
Thank you.
_________________ In life, as in art, the beatiful moves in curves
|