File tree Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 11<!-- markdownlint-disable MD034 -->
22<!-- markdownlint-disable MD053 -->
33
4+ [ CrateDB home ] : https://cratedb.com/
45[ CrateDB logo ] : https://avatars.githubusercontent.com/u/4048232?s=200&v=4
56[ Hibernate logo ] : https://logo.svgcdn.com/devicon/hibernate-original.svg
67[ jOOQ logo ] : https://www.jooq.org/img/jooq-logo-black.png
78[ JUnit home ] : https://junit.org/
89[ JUnit logo ] : https://avatars.githubusercontent.com/u/874086?s=200&v=4
10+ [ PostgreSQL home ] : https://www.postgresql.org/
911[ PostgreSQL logo ] : https://jdbc.postgresql.org/icons/postgreslogo.svg
1012[ Testcontainers for Java ] : https://testcontainers.com/guides/getting-started-with-testcontainers-for-java/
1113[ Testcontainers logo ] : https://avatars.githubusercontent.com/u/13393021?s=200&v=4
Original file line number Diff line number Diff line change 1+ :::{include} /_ include/logos.md
2+ :::
3+
14(crate-jdbc)=
25(cratedb-jdbc)=
36
47# CrateDB JDBC
58
9+ ``` {div} .float-right
10+ [![CrateDB logo][CrateDB logo]{height=40px loading=lazy}][CrateDB home]
11+ ```
12+ ``` {div} .clearfix
13+ ```
14+
615:::{include} /_ include/links.md
716:::
817
@@ -16,7 +25,7 @@ Connect to CrateDB using CrateDB JDBC.
1625:::{div}
1726The [ CrateDB JDBC Driver] is an open-source JDBC driver written in
1827Pure Java (Type 4), which communicates using the PostgreSQL native
19- network protocol.
28+ network protocol. CrateDB JDBC needs Java >= 11.
2029:::
2130
2231:::{rubric} Synopsis
@@ -67,7 +76,7 @@ of `wget`.
6776Invoke-WebRequest https://repo1.maven.org/maven2/io/crate/crate-jdbc-standalone/2.7.0/crate-jdbc-standalone-2.7.0.jar -OutFile crate-jdbc-standalone-2.7.0.jar
6877```
6978:::
70- Invoke program. Needs Java >= 25 ([ JEP 330 ] ).
79+ Invoke program. Needs Java >= 21 ([ JEP 445 ] ), alternatively see [ ] ( #full-example ) .
7180``` shell
7281java -cp crate-jdbc-standalone-2.7.0.jar example.java
7382```
@@ -135,4 +144,4 @@ dependencies {
135144:::
136145
137146
138- [ JEP 330 ] : https://openjdk.org/jeps/330
147+ [ JEP 445 ] : https://openjdk.org/jeps/445
Original file line number Diff line number Diff line change 1+ :::{include} /_ include/logos.md
2+ :::
3+
14(pgjdbc)=
25(postgresql-jdbc)=
36
47# PostgreSQL JDBC
58
9+ ``` {div} .float-right
10+ [![PostgreSQL logo][PostgreSQL logo]{height=40px loading=lazy}][PostgreSQL home]
11+ ```
12+ ``` {div} .clearfix
13+ ```
14+
615:::{include} /_ include/links.md
716:::
817
@@ -16,7 +25,7 @@ Connect to CrateDB using PostgreSQL JDBC.
1625:::{div}
1726The [ PostgreSQL JDBC Driver] is an open-source JDBC driver written in
1827Pure Java (Type 4), which communicates using the PostgreSQL native
19- network protocol.
28+ network protocol. PostgreSQL JDBC needs Java >= 8.
2029:::
2130
2231:::{rubric} Synopsis
@@ -67,7 +76,7 @@ of `wget`.
6776Invoke-WebRequest https://repo1.maven.org/maven2/org/postgresql/postgresql/42.7.8/postgresql-42.7.8.jar -OutFile postgresql-42.7.8.jar
6877```
6978:::
70- Invoke program. Needs Java >= 25 ([ JEP 330 ] ).
79+ Invoke program. Needs Java >= 21 ([ JEP 445 ] ), alternatively see [ ] ( #full-example ) .
7180``` shell
7281java -cp postgresql-42.7.8.jar example.java
7382```
@@ -133,4 +142,4 @@ dependencies {
133142:::
134143
135144
136- [ JEP 330 ] : https://openjdk.org/jeps/330
145+ [ JEP 445 ] : https://openjdk.org/jeps/445
You can’t perform that action at this time.
0 commit comments