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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ Each module of this project contains a set of providers.
30
30
<dt><ahref="ojdbc-provider-jackson-oson/README.md">Oracle JDBC Jackson OSON</a></dt>
31
31
<dd>Provider for <ahref="https://docs.oracle.com/en/database/oracle/oracle-database/23/adjsn/json-in-oracle-database.html#GUID-A8A58B49-13A5-4F42-8EA0-508951DAE0BB">OSON</a> through the JACKSON APIs.
32
32
This provider can be used for seamless integration of applications that use the JACKSON APIs with the Oracle JSON type.</dd>
# Oracle JDBC Configuration Provider Parser for Pkl
2
+
3
+
This module provides a parser that integrates **Oracle JDBC** with **Pkl**, a modern configuration language.
4
+
It implements the `OracleConfigurationParser` interface to parse and read `.pkl` files for database configuration.
5
+
6
+
With the Oracle JDBC Pkl Parser, developers can store JDBC configurations in `.pkl` files and load them dynamically through Oracle JDBC Driver Extensions.
7
+
8
+
> **Note:** This parser works only with providers that extend `OracleConfigurationParsableProvider`, such as `file`, `https`, `ociobject`, `awss3`, and others.
9
+
>
10
+
## Installation
11
+
12
+
All providers in this module are distributed as single jar on the Maven Central
13
+
Repository. The jar is compiled for JDK 8, and is forward compatible with later
14
+
JDK versions. The coordinates for the latest release are:
15
+
16
+
```xml
17
+
<dependency>
18
+
<groupId>com.oracle.database.jdbc</groupId>
19
+
<artifactId>ojdbc-provider-pkl</artifactId>
20
+
<version>1.0.6</version>
21
+
</dependency>
22
+
```
23
+
24
+
## Usage
25
+
26
+
To use the Oracle JDBC Pkl Parser:
27
+
28
+
1. Prepare a .pkl configuration file (see examples below).
29
+
2. Add this artifact to your application's classpath.
30
+
3. Reference the .pkl file in the JDBC URL.
31
+
32
+
The parser type is inferred from the file extension. In this case, it’s "pkl".
33
+
If the file name doesn’t include an extension, you can specify the parser explicitly using the parser option.
34
+
All other options (like key, label, etc.) follow the same format as other providers.
0 commit comments