Easy setup for persistence testing. Fancy way to test Criteria and HQL. Full fill the objects tree with dummy values. Generate values according with hibernate-validator annotations. Does not matter if a previous database row exists (or not). Reduces the necessity of cleaning database (the trash should not scare you). Do not care about auto-increment strategy. Easier than traditional xml database fixtures.
You must be logged in to vote.