Skip to content

Update sqlmap-xml.xml #2380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Mar 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/site/zh/xdoc/sqlmap-xml.xml
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,9 @@ ps.setInt(1,id);]]></source>
如果 <code>mode</code> 为 <code>OUT</code>(或 <code>INOUT</code>),而且
<code>jdbcType</code> 为 <code>CURSOR</code>(也就是 Oracle 的
REFCURSOR),你必须指定一个 <code>resultMap</code> 引用来将结果集
<code>ResultMap</code> 映射到参数的类型上。要注意这里的
<code>ResultSet</code> 映射到参数的类型上。要注意这里的
<code>javaType</code> 属性是可选的,如果留空并且 jdbcType 是
<code>CURSOR</code>,它会被自动地被设为 <code>ResultMap</code>。
<code>CURSOR</code>,它会被自动地被设为 <code>ResultSet</code>。
</p>

<source><![CDATA[#{department, mode=OUT, jdbcType=CURSOR, javaType=ResultSet, resultMap=departmentResultMap}]]></source>
Expand Down