<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">SQLRecording.java is not in my Kepler
tree, it would be helpful if provided a complete path<br>
<br>
Searching Google with <br>
<br>
SQLRecording.java Kepler<br>
<br>
yields<br>
<br>
<a class="moz-txt-link-freetext" href="http://scilla.man.poznan.pl/euforia/grid_test/Kepler-1.0.0-install/src/org/kepler/provenance/SQLRecording.java">http://scilla.man.poznan.pl/euforia/grid_test/Kepler-1.0.0-install/src/org/kepler/provenance/SQLRecording.java</a><br>
<br>
which is from an old version of the provenance system.<br>
<br>
That file contains similar code:<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre>import java.sql.PreparedStatement;</pre>
</blockquote>
<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre>PreparedStatement ps = _getPrepStmt(STMT_LINK_INSERT);
synchronized(ps)
{
ps.setInt(1, reLink.getId());
ps.setInt(2, re1.getId());
ps.setInt(3, re2.getId());
ps.executeUpdate();
}</pre>
</blockquote>
<br>
My guess is that in later versions _psParameterInsert is probably
a java.sql.PreparedStatement. Searching Google with:<br>
<br>
java.sql.PreparedStatement<br>
<br>
yields
<a class="moz-txt-link-freetext" href="https://docs.oracle.com/javase/7/docs/api/java/sql/PreparedStatement.html">https://docs.oracle.com/javase/7/docs/api/java/sql/PreparedStatement.html</a><br>
<br>
and<br>
<br>
<a class="moz-txt-link-freetext" href="https://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html">https://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html</a><br>
<br>
It seems that java.sql.PreparedStatement is part of the JDK, to
find the source, you could look at the src.zip file that is
sometimes available with the JDK or search Google for <br>
<br>
jdk source<br>
<br>
or<br>
<br>
PreparedStatement.java source code<br>
<br>
_Christopher<br>
<br>
<br>
<br>
On 11/11/14 1:59 PM, DONGHOON KIM wrote:<br>
</div>
<blockquote
cite="mid:CAHwMc7XB2nfhi4_xPVNXpJtiuZYYZiBnOQWWatLfQAcF2UpwcA@mail.gmail.com"
type="cite">
<div dir="ltr">Dear Kepler folks,
<div><br>
</div>
<div>I want to take a look at the source code for setInt( ),
which used in SQLRecording.java line number 1748 (around) like
below:</div>
<div>----</div>
<div>_psParameterInsert.setInt(1, re.getId());<br>
</div>
<div>----</div>
<div><br>
</div>
<div>But I can not access the source code. Do I have download
another source code for this module?</div>
<div><br>
</div>
<div>Please, let me know </div>
<div><br>
</div>
<div>Thank you</div>
<div><br>
</div>
<div>-Donghoon</div>
<div><br>
</div>
<div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">Donghoon Kim<br>
Dept of Computer Science<br>
North Carolina State University<br>
<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
Academic Program Manager & Software Engineer US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm Berkeley, CA 94720-1774
<a class="moz-txt-link-abbreviated" href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>, 707.332.0670 (Office: 545Q Cory)
</pre>
</body>
</html>