Closed bokc closed 10 years ago
Sadly, that would have to wait for the refactoring I mentioned for #18.
The problem is that enum fields can't have default values that can't be inlined. @DataSet.dbType
is a enum so it would require a String (the System property value) to enum value conversion.
@bokc Is this issue still relevant?
Yes.
@bokc I've added a system property named spring.dbunit.dbtype
that you can assign to a value of com.excilys.ebi.spring.dbunit.config.DBType
.
If it looks good to you (ie it answers your problem), tell me, and I'll merge for next release.
It look good for me.
Ok, merging then.
I need to configure the DBType by the environnement (Maven profil) for the test. I use DB like data base for qualification test and mem data base for dev test.