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,7 +242,10 @@ public class SQLStoreQuery
|
||||||
|
|
||||||
PreparedStatement stmnt = null;
|
PreparedStatement stmnt = null;
|
||||||
try {
|
try {
|
||||||
|
if (_call)
|
||||||
stmnt = prepareCall(conn, buf);
|
stmnt = prepareCall(conn, buf);
|
||||||
|
else
|
||||||
|
stmnt = prepareStatement(conn, buf);
|
||||||
|
|
||||||
buf.setParameters(paramList);
|
buf.setParameters(paramList);
|
||||||
if (stmnt != null)
|
if (stmnt != null)
|
||||||
|
|
Loading…
Reference in New Issue