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
Use a unified configuration model to define data sources for Java Database Connectivity (JDBC) and Reactive drivers.
15
15
@@ -64,9 +64,6 @@ For more details and optional configurations, see xref:databases-dev-services.ad
64
64
. Add the correct JDBC extension for the database of your choice.
65
65
66
66
* `quarkus-jdbc-db2`
67
-
* `quarkus-jdbc-derby`
68
-
+
69
-
include::_includes/snip-note-derby.adoc[]
70
67
* `quarkus-jdbc-h2`
71
68
* `quarkus-jdbc-mariadb`
72
69
* `quarkus-jdbc-mssql`
@@ -152,9 +149,6 @@ If the application operates with a single driver, this driver is detected automa
152
149
Quarkus currently includes the following built-in database kinds:
153
150
+
154
151
* DB2: `db2`
155
-
* Derby: `derby`
156
-
+
157
-
include::_includes/snip-note-derby.adoc[]
158
152
* H2: `h2`
159
153
* MariaDB: `mariadb`
160
154
* Microsoft SQL Server: `mssql`
@@ -194,14 +188,11 @@ JDBC is the most common database connection pattern, typically needed when used
194
188
195
189
.. For use with a built-in JDBC driver, choose and add the Quarkus extension for your relational database driver from the list below:
196
190
+
197
-
* Derby - `quarkus-jdbc-derby`
198
-
+
199
-
include::_includes/snip-note-derby.adoc[]
200
191
* H2 - `quarkus-jdbc-h2`
201
192
+
202
193
[NOTE]
203
194
====
204
-
You can configure H2 and Derby databases to run in "embedded mode"; however, the Derby extension does not support compiling the embedded database engine into native executables.
195
+
You can configure H2 databases to run in "embedded mode"
205
196
206
197
For suggestions regarding integration testing, see <<in-memory-databases,Testing with in-memory databases>> .
207
198
====
@@ -700,20 +691,17 @@ You will usually specify the `db-kind` property or explicitly enable Dev Service
700
691
[[in-memory-databases]]
701
692
=== Testing with in-memory databases
702
693
703
-
Some databases like H2 and Derby are commonly used in the _embedded mode_ as a facility to run integration tests quickly.
694
+
Some databases like H2 are commonly used in the _embedded mode_ as a facility to run integration tests quickly.
704
695
705
696
The recommended approach is to use the database intended for production to get results as close as possible to a production environment.
706
697
This is made easier by xref:databases-dev-services.adoc[Dev Services] because they require no configuration and start relatively quickly.
707
698
However, it is also possible to use JVM-powered databases for scenarios when the ability to run simple integration tests is required.
708
699
709
700
==== Support and limitations
710
701
711
-
Embedded databases (H2 and Derby) work in JVM mode.
702
+
Embedded databases (H2) work in JVM mode.
712
703
For native mode, the following limitations apply:
713
704
714
-
* Derby cannot be embedded into the application in native mode.
715
-
However, the Quarkus Derby extension allows native compilation of the Derby JDBC *client*, supporting *remote* connections.
716
-
717
705
* Embedding H2 within your native image is not recommended.
718
706
Consider using an alternative approach, for example, using a remote connection to a separate database instead.
For more information on URL syntax and additional supported options, see the link:https://www.ibm.com/support/knowledgecenter/SSEPGG_11.5.0/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_r0052342.html[official documentation].
0 commit comments