hsqldb « Test « JPA Q&A





1. Putting BigDecimal data into HSQLDB test database using DbUnit    stackoverflow.com

I'm using Hibernate JPA in my backend. I am writing a unit test using JUnit and DBUnit to insert a set of data into an in-memory HSQL database. My dataset contains:

<order_line order_line_id="1" ...

2. How can I wipe data from my HSQLDB after every test?    stackoverflow.com

I had some JUnit tests already written in my project which used to populate data in the setup method. Now I have added maven to my project and I want to ...