문제

I'm working in a project which is using DB2 + myBatis. Currently I'm defining a concept for test automation and I consider using Java DB (former apache derby) as in memomy db for unit tests. Does anyone have experience with this? Does Java DB can be used as a kind of substitution of DB2? From what I could see it's using same dialect as DB2, but that's not enough of course

도움이 되었습니까?

해결책

I've tried this, see this question, which I had when trying to introduce integration tests using Derby for a legacy database that used DB2. How well using Java DB in place of DB2 will depend on how much DB2-specific SQL and DDL you need to support.

If you want a version of DB2 you can install on a developer machine, you could try IBM DB2 Express-C, it's a no-charge version of DB2 you can use locally.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top