mirror of https://github.com/apache/openjpa.git
OPENJPA-774. Committing the patch provided by Alexey Ousov in trunk and the 1.3.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719388 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb937f3634
commit
68d48f948e
|
@ -242,8 +242,11 @@ public class SQLStoreQuery
|
||||||
|
|
||||||
PreparedStatement stmnt = null;
|
PreparedStatement stmnt = null;
|
||||||
try {
|
try {
|
||||||
stmnt = prepareCall(conn, buf);
|
if (_call)
|
||||||
|
stmnt = prepareCall(conn, buf);
|
||||||
|
else
|
||||||
|
stmnt = prepareStatement(conn, buf);
|
||||||
|
|
||||||
buf.setParameters(paramList);
|
buf.setParameters(paramList);
|
||||||
if (stmnt != null)
|
if (stmnt != null)
|
||||||
buf.setParameters(stmnt);
|
buf.setParameters(stmnt);
|
||||||
|
|
Loading…
Reference in New Issue