Skip to content

Commit 7e04c37

Browse files
committed
Merge pull request #336 from mybatis/revert-335-master
Revert "timeout attribute description"
2 parents 9271d28 + e0c0ecb commit 7e04c37

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/site/xdoc/sqlmap-xml.xml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,8 @@ ps.setInt(1,id);]]></source>
201201
</tr>
202202
<tr>
203203
<td><code>timeout</code></td>
204-
<td>This sets the number of <em>milli</em>seconds the driver will wait for the database
205-
to return from a request before throwing an exception.
206-
If the <a href="configuration.html#settings"><code>defaultStatementTimeout</code></a>
207-
(which is calibrated in seconds) has been set, <code>timeout</code> defaults to 1000
208-
times that value. Otherwise, the default is <code>unset</code> (driver dependent).
204+
<td>This sets the number of seconds the driver will wait for the database to return from a
205+
request, before throwing an exception. Default is <code>unset</code> (driver dependent).
209206
</td>
210207
</tr>
211208
<tr>
@@ -319,11 +316,8 @@ ps.setInt(1,id);]]></source>
319316
</tr>
320317
<tr>
321318
<td><code>timeout</code></td>
322-
<td>This sets the number of <em>milli</em>seconds the driver will wait for the database
323-
to return from a request before throwing an exception.
324-
If the <a href="configuration.html#settings"><code>defaultStatementTimeout</code></a>
325-
(which is calibrated in seconds) has been set, <code>timeout</code> defaults to 1000
326-
times that value. Otherwise, the default is <code>unset</code> (driver dependent).
319+
<td>This sets the maximum number of seconds the driver will wait for the database to return from a
320+
request, before throwing an exception. Default is <code>unset</code> (driver dependent).
327321
</td>
328322
</tr>
329323
<tr>

0 commit comments

Comments
 (0)