Skip to content

Commit 7f3e9c3

Browse files
Merge pull request #46 from oracle/jdbc-to-r2dbc-sample
JDBC to R2DBC Code Examples
2 parents bae1154 + 9bc73e3 commit 7f3e9c3

File tree

5 files changed

+648
-57
lines changed

5 files changed

+648
-57
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
.DS_Store
33
*.iml
44
/src/test/resources/config.properties
5-
/sample/.gradle/
6-
/sample/build/
5+
/sample/target/
76
/sample/config.properties
87
.github/workflows/startup/99_done.sh
98
.github/workflows/startup/done

sample/build.gradle

Lines changed: 0 additions & 44 deletions
This file was deleted.

sample/pom.xml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
4+
5+
This software is dual-licensed to you under the Universal Permissive License
6+
(UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License
7+
2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose
8+
either license.
9+
10+
Licensed under the Apache License, Version 2.0 (the "License");
11+
you may not use this file except in compliance with the License.
12+
You may obtain a copy of the License at
13+
14+
https://www.apache.org/licenses/LICENSE-2.0
15+
16+
Unless required by applicable law or agreed to in writing, software
17+
distributed under the License is distributed on an "AS IS" BASIS,
18+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
See the License for the specific language governing permissions and
20+
limitations under the License.
21+
-->
22+
<project xmlns="http://maven.apache.org/POM/4.0.0"
23+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25+
<modelVersion>4.0.0</modelVersion>
26+
<groupId>com.oracle.database.r2dbc</groupId>
27+
<artifactId>oracle-r2dbc-samples</artifactId>
28+
<version>0.2.0</version>
29+
<name>oracle-r2dbc-samples</name>
30+
<description>
31+
Code examples for the Oracle R2DBC Driver
32+
</description>
33+
<url>
34+
https://github.com/oracle/oracle-r2dbc
35+
</url>
36+
<inceptionYear>2019</inceptionYear>
37+
<licenses>
38+
<license>
39+
<name>Universal Permissive License v1.0</name>
40+
<url>https://opensource.org/licenses/UPL</url>
41+
</license>
42+
<license>
43+
<name>Apache License, Version 2.0</name>
44+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
45+
</license>
46+
</licenses>
47+
<developers>
48+
<developer>
49+
<organization>Oracle America, Inc.</organization>
50+
<organizationUrl>http://www.oracle.com</organizationUrl>
51+
</developer>
52+
</developers>
53+
<scm>
54+
<url>https://github.com/oracle/oracle-r2dbc.git</url>
55+
<connection>
56+
scm:git:https://github.com/oracle/oracle-r2dbc.git
57+
</connection>
58+
<developerConnection>scm:git:git@github.com:oracle/oracle-r2dbc.git</developerConnection>
59+
</scm>
60+
<issueManagement>
61+
<system>GitHub</system>
62+
<url>https://github.com/oracle/oracle-r2dbc/issues</url>
63+
</issueManagement>
64+
65+
<properties>
66+
<java.version>11</java.version>
67+
<oracle-r2dbc.version>0.3.0</oracle-r2dbc.version>
68+
<reactor.version>3.3.0.RELEASE</reactor.version>
69+
</properties>
70+
71+
<build>
72+
<plugins>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-compiler-plugin</artifactId>
76+
<version>3.8.1</version>
77+
<configuration>
78+
<compilerArgs>
79+
<arg>-Xlint:all</arg>
80+
<arg>-Xlint:-options</arg>
81+
<arg>-Xlint:-processing</arg>
82+
<arg>-Xlint:-serial</arg>
83+
</compilerArgs>
84+
<showWarnings>true</showWarnings>
85+
<release>${java.version}</release>
86+
</configuration>
87+
</plugin>
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-clean-plugin</artifactId>
91+
<version>3.1.0</version>
92+
</plugin>
93+
</plugins>
94+
</build>
95+
96+
<dependencies>
97+
<dependency>
98+
<groupId>com.oracle.database.r2dbc</groupId>
99+
<artifactId>oracle-r2dbc</artifactId>
100+
<version>${oracle-r2dbc.version}</version>
101+
</dependency>
102+
<dependency>
103+
<groupId>io.projectreactor</groupId>
104+
<artifactId>reactor-test</artifactId>
105+
<version>${reactor.version}</version>
106+
<scope>test</scope>
107+
</dependency>
108+
</dependencies>
109+
</project>

sample/sample.iml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)