Skip to content

Commit 01a3113

Browse files
committed
Driver version
1 parent 5b12282 commit 01a3113

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

ojdbc-provider-observability/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The coordinates for the latest release are:
131131
<dependency>
132132
<groupId>com.oracle.database.jdbc</groupId>
133133
<artifactId>ojdbc-provider-observability</artifactId>
134-
<version>1.0.3</version>
134+
<version>1.0.6</version>
135135
</dependency>
136136
```
137137

ojdbc-provider-observability/src/main/java/oracle/jdbc/provider/observability/tracers/otel/OTelTracer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public Object traceRoundTrip(Sequence sequence, TraceContext traceContext, Objec
144144
boolean hasError = isErrorObj != null && isErrorObj;
145145
span.setStatus(hasError ? StatusCode.ERROR : StatusCode.OK);
146146
if (hasError && isStableConventionsEnabled()) {
147-
Throwable throwable = null; // traceContext.getThrowable();
147+
Throwable throwable = traceContext.getThrowable();
148148
if (throwable != null) {
149149
span.setAttribute(ERROR_TYPE_ATTRIBUTE, throwable.getClass().getName());
150150
if (throwable instanceof SQLException) {
@@ -328,7 +328,7 @@ private Span initAndGetSpan(TraceContext traceContext, String spanName) {
328328
// Emit NEW stable semantic conventions
329329
if (emitStable) {
330330
spanBuilder.setAttribute(DB_SYSTEM_ATTRIBUTE, DB_SYSTEM_VALUE_ORACLE);
331-
/*
331+
332332
if (traceContext.getServiceName() != null && !traceContext.getServiceName().isEmpty()) {
333333
spanBuilder.setAttribute(DB_NAMESPACE_ATTRIBUTE, traceContext.getServiceName());
334334
}
@@ -388,7 +388,6 @@ private Span initAndGetSpan(TraceContext traceContext, String spanName) {
388388
spanBuilder.setAttribute(DB_RESPONSE_RETURNED_ROWS_ATTRIBUTE, numRows);
389389
}
390390
}
391-
*/
392391
}
393392

394393
// Emit old conventions

ojdbc-provider-samples/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>Oracle JDBC Provider Code Samples</name>
66

77
<artifactId>ojdbc-provider-samples</artifactId>
8-
<version>1.0.3</version>
8+
<version>1.0.6</version>
99
<packaging>jar</packaging>
1010

1111
<parent>
@@ -23,12 +23,12 @@
2323
<dependency>
2424
<groupId>com.oracle.database.jdbc</groupId>
2525
<artifactId>ojdbc-provider-azure</artifactId>
26-
<version>1.0.3</version>
26+
<version>${project.parent.version}</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>com.oracle.database.jdbc</groupId>
3030
<artifactId>ojdbc-provider-oci</artifactId>
31-
<version>1.0.3</version>
31+
<version>${project.parent.version}</version>
3232
</dependency>
3333
<dependency>
3434
<groupId>com.oracle.database.jdbc</groupId>
@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>com.oracle.database.jdbc</groupId>
4040
<artifactId>ojdbc-provider-jackson-oson</artifactId>
41-
<version>1.0.3</version>
41+
<version>${project.parent.version}</version>
4242
</dependency>
4343
<dependency>
4444
<groupId>com.oracle.database.jdbc</groupId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<properties>
3333
<maven.compiler.target>1.8</maven.compiler.target>
3434
<maven.compiler.source>1.8</maven.compiler.source>
35-
<jdbc.version>23.7.0.25.01</jdbc.version>
35+
<jdbc.version>23.26.0.0.0</jdbc.version>
3636
<junit.version>5.9.0</junit.version>
3737
<mockito.version>4.11.0</mockito.version>
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)