Skip to content

Commit 2269e67

Browse files
authored
Update README.md
1 parent 49068e4 commit 2269e67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java/AoJ/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ To run the sample file you will need a SQL database and corresponding JDBC drive
5555
has been run with [Oracle Database 12c](http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html)
5656
and [Oracle Database 12c JDBC](http://www.oracle.com/technetwork/database/application-development/jdbc/downloads/index.html),
5757
but it should work with any reasonably standard compliant SQL database and JDBC
58-
driver. The sample file uses the scott/tiger schema available
59-
[here](https://github.com/oracle/dotnet-db-samples/blob/master/schemas/scott.sql).
58+
driver. The sample file uses the table emp and dept. so, you can create a user "testuser" and 'emp' and 'dept' tables using
59+
[JDBCSampleData.sql](https://github.com/oracle/oracle-db-examples/blob/master/java/jdbc/BasicSamples/JDBCSampleData.sql).
6060

61-
Start the database and load ```scott.sql```. Edit ```com.oracle.adbaoverjdbc.test.FirstLight.java```
61+
Start the database and make sure to create 'testuser' and needed tables using [JDBCSampleData.sql](https://github.com/oracle/oracle-db-examples/blob/master/java/jdbc/BasicSamples/JDBCSampleData.sql) . Edit ```com.oracle.adbaoverjdbc.test.FirstLight.java```
6262
and set the constant ```URL``` to an appropriate value. AoJ will pass this value
6363
to ```java.sql.DriverManager.getSession```. If you are using a database other
6464
than Oracle you should change the value of the constant ```TRIVIAL``` to some
@@ -67,7 +67,7 @@ very trivial ```SELECT``` query.
6767
## Sample Code
6868

6969
The following test case should give you some idea of what AoJ can do. It should
70-
run with any JDBC driver connecting to a database with the scott schema. This is
70+
run with any JDBC driver connecting to a database with the 'testuser' schema. This is
7171
the last test in ```com.oracle.adbaoverjdbc.test.FirstLight.java```. For an
7272
introduction to ADBA see the
7373
[JavaOne 2017 presentation](http://www.oracle.com/technetwork/database/application-development/jdbc/con1491-3961036.pdf).

0 commit comments

Comments
 (0)