![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I have an EJB 3 application that I have successfully run on MySQL and PostgreSQL. It hangs on this first part of the application. Let me explain. ... This code loops through creating Customer entities that have a PricingMethod (one-to-one relationship), and persists them in a batch, based on the batchSize that passed into the method (which comes from a simple web form). I also pass in the number of customers to create, which in this case is 1,000,000. So, it should create 1 million Customer entities and 1 million PricingMethod entities. At the moment it hangs after creating 77,000 Customer entities and 77,000 PricingMethod entities. |
![]() |
| Thread Tools | |
| Display Modes | |
| |