SQLRecording.java is not in my Kepler tree, it would be helpful if provided a complete path

Searching Google with

SQLRecording.java Kepler

yields

http://scilla.man.poznan.pl/euforia/grid_test/Kepler-1.0.0-install/src/org/kepler/provenance/SQLRecording.java

which is from an old version of the provenance system.

That file contains similar code:
import java.sql.PreparedStatement;

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();
                 }

My guess is that in later versions _psParameterInsert is probably a java.sql.PreparedStatement. Searching Google with:

java.sql.PreparedStatement

yields https://docs.oracle.com/javase/7/docs/api/java/sql/PreparedStatement.html

and

https://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html

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

jdk source

or

PreparedStatement.java source code

_Christopher



On 11/11/14 1:59 PM, DONGHOON KIM wrote:
Dear Kepler folks,

I want to take a look at the source code for setInt( ), which used in SQLRecording.java line number 1748 (around) like below:
----
_psParameterInsert.setInt(1, re.getId());
----

But I can not access the source code. Do I have download another source code for this module?

Please, let me know

Thank you

-Donghoon


--
Donghoon Kim
Dept of Computer Science
North Carolina State University




_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev


--
Christopher Brooks, PMP                       University of California
Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774
[email protected], 707.332.0670           (Office: 545Q Cory)

_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

Reply via email to