Skip to content

Commit b117e02

Browse files
committed
update test dependencies
1 parent 4cf537c commit b117e02

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,19 +187,19 @@
187187
<dependency>
188188
<groupId>junit</groupId>
189189
<artifactId>junit</artifactId>
190-
<version>4.10</version>
190+
<version>4.11</version>
191191
<scope>test</scope>
192192
</dependency>
193193
<dependency>
194194
<groupId>org.hsqldb</groupId>
195195
<artifactId>hsqldb</artifactId>
196-
<version>2.2.4</version>
196+
<version>2.2.9</version>
197197
<scope>test</scope>
198198
</dependency>
199199
<dependency>
200200
<groupId>org.apache.derby</groupId>
201201
<artifactId>derby</artifactId>
202-
<version>10.3.2.1</version>
202+
<version>10.9.1.0</version>
203203
<scope>test</scope>
204204
</dependency>
205205
<dependency>
@@ -230,7 +230,7 @@
230230
<dependency>
231231
<groupId>postgresql</groupId>
232232
<artifactId>postgresql</artifactId>
233-
<version>9.0-801.jdbc3</version>
233+
<version>9.1-901.jdbc3</version>
234234
<scope>test</scope>
235235
</dependency>
236236
</dependencies>

src/test/java/org/apache/ibatis/submitted/sptests/CreateDB.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ go
8282

8383
-- note that these create procedure statements will fail until hsqldb 2.0.1
8484
create procedure sptest.getname(in nameId integer)
85-
reads sql data
85+
modifies sql data
8686
dynamic result sets 1
8787
BEGIN ATOMIC
8888
declare cur cursor for select * from sptest.names where id = nameId;
@@ -91,7 +91,7 @@ END
9191
go
9292

9393
create procedure sptest.getnamesanditems()
94-
reads sql data
94+
modifies sql data
9595
dynamic result sets 2
9696
BEGIN ATOMIC
9797
declare cur1 cursor for select * from sptest.names;
@@ -102,7 +102,7 @@ END
102102
go
103103

104104
create procedure sptest.getnames(in lowestId int, out totalrows integer)
105-
reads sql data
105+
modifies sql data
106106
dynamic result sets 1
107107
BEGIN ATOMIC
108108
declare cur cursor for select * from sptest.names where id >= lowestId;
@@ -112,7 +112,7 @@ END
112112
go
113113

114114
create procedure sptest.arraytest(in ids int array, out rowsrequested integer, out returnedids int array)
115-
reads sql data
115+
modifies sql data
116116
dynamic result sets 1
117117
begin atomic
118118
declare cur cursor for select * from sptest.names where id in (unnest(ids));

0 commit comments

Comments
 (0)