1. Why are my DBUnit tests consuming so much memory? stackoverflow.comI've got a hibernate-based application which uses DBUnit for unit testing. We have an XML test database, which gets loaded up with dummy data in the setUp() of each test ... |
2. Simple and reliable in memory database for fast java integration tests with support for JPA stackoverflow.comMy integration tests would run much faster if I used in-memory-database instead of PostgreSQL. I use JPA (Hibernate) and I need an in-memory-database that would be easy to switch to using ... |
3. Out of memory error for mass tests. forum.hibernate.orgHello, I have trouble trying to have charge tests using hibernate. The problem is that when I insert lots of data (20.000 records), I get "out of memory error" from the jvm. Obvious code for doing this is: Code: Configuration cfg = new Configuration(); cfg.addClass(Blsmatst.class); SessionFactory sf = cfg.buildSessionFactory(); session = sf.openSession(); int maxRecord = 100000; Blsmatst record; int i; for ... |
4. In-memory testing ideas with DB2 and Hypersonic (HSQLDB) forum.hibernate.orgWe are trying to simplify some of our unit testing. One of the problems we are running into is that Maven, which we just recently switched too, wants to run these unit tests each and everytime, which isn't a bad thing, but can get messy when the data gets fouled up, which happens a lot when you have several developers all ... |