You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -348,6 +348,46 @@ Before you use H2 database, you have to add the following Maven dependency:
348
348
**Note that the associated database provider supports database prefetching, but not template databases.
349
349
So you may notice some performance degradation compared to other database providers in some cases.**
350
350
351
+
### HSQLDB
352
+
353
+
This provider may be convenient if you have an application that supports multiple databases
354
+
and you want to reuse the tests using the `@AutoConfigureEmbeddedDatabase` annotation for all these databases, including the HSQLDB database.
355
+
In this case, you can override the `zonky.test.database.provider` property externally and change the used database provider for each run without changing the code.
356
+
You can find more information about externalized configuration here: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config
357
+
358
+
Before you use HSQLDB database, you have to add the following Maven dependency:
359
+
360
+
```xml
361
+
<dependency>
362
+
<groupId>org.hsqldb</groupId>
363
+
<artifactId>hsqldb</artifactId>
364
+
<version>2.7.1</version>
365
+
</dependency>
366
+
```
367
+
368
+
**Note that the associated database provider supports database prefetching, but not template databases.
369
+
So you may notice some performance degradation compared to other database providers in some cases.**
370
+
371
+
### Derby
372
+
373
+
This provider may be convenient if you have an application that supports multiple databases
374
+
and you want to reuse the tests using the `@AutoConfigureEmbeddedDatabase` annotation for all these databases, including the Apache Derby database.
375
+
In this case, you can override the `zonky.test.database.provider` property externally and change the used database provider for each run without changing the code.
376
+
You can find more information about externalized configuration here: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config
377
+
378
+
Before you use Apache Derby database, you have to add the following Maven dependency:
379
+
380
+
```xml
381
+
<dependency>
382
+
<groupId>org.apache.derby</groupId>
383
+
<artifactId>derby</artifactId>
384
+
<version>10.16.1.1</version>
385
+
</dependency>
386
+
```
387
+
388
+
**Note that the associated database provider supports database prefetching, but not template databases.
389
+
So you may notice some performance degradation compared to other database providers in some cases.**
390
+
351
391
## Supported Migration Tools
352
392
353
393
Note that although any migration tool is supported,
Copy file name to clipboardExpand all lines: embedded-database-spring-test/src/main/java/io/zonky/test/db/config/EmbeddedDatabaseAutoConfiguration.java
0 commit comments