How to simulate a DB for testing (Java)?

后端 未结 14 1413
走了就别回头了
走了就别回头了 2020-11-30 19:15

I\'m programming in Java and my applications are making a lot of use of DB. Hence, it is important for me to be able to test my DB usage easily.
What DB tests are all ab

14条回答
  •  旧时难觅i
    2020-11-30 19:49

    If you are using Oracle at work you can use the Restore Point in Flashback Database feature to make the database return to a time before your tests. This will clear away any changes you personally made to the DB.

    See:

    https://docs.oracle.com/cd/E11882_01/backup.112/e10642/flashdb.htm#BRADV71000

    If you need a test database for use with Oracle production/work then lookup the XE, express edition database from Oracle. This is free for personal use, with a limit of database less than 2gb in size.

提交回复
热议问题