Skip to content

Commit 64b8fcd

Browse files
authored
Update README.md
1 parent 437bd70 commit 64b8fcd

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import advancedsql.*;
2727
import advancedsql.query.*;
2828
import advancedsql.table.ITable;
2929

30+
import java.sql.SQLException;
31+
3032
try {
3133
MySQL mySQL = connect();
3234

@@ -59,6 +61,8 @@ import advancedsql.query.*;
5961
import advancedsql.query.action.Add;
6062
import advancedsql.query.action.Modify;
6163

64+
import java.sql.SQLException;
65+
6266
try {
6367
MySQL mySQL = connect();
6468

@@ -94,6 +98,10 @@ try {
9498
import advancedsql.*;
9599
import advancedsql.query.*;
96100

101+
import java.sql.SQLException;
102+
import java.util.HashMap;
103+
import java.util.Map;
104+
97105
try {
98106
MySQL mySQL = connect();
99107

@@ -107,8 +115,6 @@ try {
107115
// Print query string and result.
108116
System.out.println(query);
109117
System.out.println(execute);
110-
111-
assertEquals(1, execute);
112118
} catch (SQLException e) {
113119
e.printStackTrace();
114120
}
@@ -118,6 +124,9 @@ try {
118124
```java
119125
import advancedsql.*;
120126
import advancedsql.query.*;
127+
import java.sql.SQLException;
128+
import java.util.HashMap;
129+
import java.util.Map;
121130

122131
try {
123132
MySQL mySQL = connect();
@@ -130,9 +139,7 @@ try {
130139

131140
// Print query string and result.
132141
System.out.println(query);
133-
System.out.println(execute);
134-
135-
assertEquals(1, execute);
142+
System.out.println(execute)p
136143
} catch (SQLException e) {
137144
e.printStackTrace();
138145
}
@@ -142,6 +149,7 @@ try {
142149
```java
143150
import advancedsql.*;
144151
import advancedsql.query.*;
152+
import java.sql.SQLException;
145153

146154
try {
147155
MySQL mySQL = connect();
@@ -162,6 +170,13 @@ try {
162170
```java
163171
import advancedsql.*;
164172
import advancedsql.query.*;
173+
import advancedsql.query.action.Add;
174+
import advancedsql.query.action.Modify;
175+
import advancedsql.table.ITable;
176+
177+
import java.sql.SQLException;
178+
import java.util.HashMap;
179+
import java.util.Map;
165180

166181
try {
167182
MySQL mySQL = connect();

0 commit comments

Comments
 (0)