You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Shaikh Quader <sh...@gmail.com> on 2006/03/06 08:45:32 UTC
Select Query execution starting point
I have recently started looking at the Derby code.
Can anyone please tell me ... where does the "Select" Query execution
begin within Derby? i.e. I'm looking for any controller kind of java
class in Derby code that receives the user submitted "SELECT" query
and subsequently parse, execute, and return the resultsets to the
user.
My intension is to understand the Derby's "SELECT" query execution
model within code area. Any pointer will be appreciated.
Thanks,
SQ
Re: Select Query execution starting point
Posted by Dy...@Sun.COM.
Shaikh Quader <sh...@gmail.com> writes:
> I have recently started looking at the Derby code.
>
> Can anyone please tell me ... where does the "Select" Query execution
> begin within Derby? i.e. I'm looking for any controller kind of java
> class in Derby code that receives the user submitted "SELECT" query
> and subsequently parse, execute, and return the resultsets to the
> user.
>
> My intension is to understand the Derby's "SELECT" query execution
> model within code area. Any pointer will be appreciated.
I believe Jean Anderson already answered your question in
http://www.nabble.com/undestanding-SELECT-query-execution-model-...-need-help-t1190986.html#a3140099
Other than that, I think you just need to write a small JDBC program
that performs a select, and try to run it in your debugger. Put a
breakpoint just before the execute statement and start
single-stepping.
--
dt