I want to use DbUnit to test JPA/Hibernate Dao, but since DbUnit XML files contain hard-coded ids for my entities, i have problems when testing inserts done by Hibernate.
Do you know any DbUnit extension or solution which would use the PK Generator defined on my entities when inserting data from XML files ? or even insert Data with Hibernate itself ?
other strategies ?
rgds