You have DBUnit config issues:
Code:
<dataset>
<Category categoryId="1"
categoryName="NAME"
categoryImage="IMAGE"
categoryParentId="0"/>
<Category categoryId="2"
categoryName="NAME"
categoryImage="IMAGE"
categoryParentId="1"/>
</dataset>
There is no categoryParentId="0" because there is no such Category with an id of 0.
You have to supply a test case with no dependency on Spring or DBUnit using the test case templates. You need to read that blog post. There's also a link to templates that use native Hibernate API.
Also, the tests don't start because of failing H2 config. I had to change the URL to:
Code:
url=jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;LOCK_TIMEOUT=10000