db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "LanguageSystem" by DanDebrunner
Date Tue, 29 Nov 2005 21:17:36 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:

New page:
= Derby SQL Language System =

== Compilation ==

=== Compilation Flow ===

 1. LanguageParse: Parser generates !QueryTree from SQL statement text.
 1. LanguageBind: Bind phase checks semantics.
 1. LanguageOptimize: Optimization modifies !QueryTree.
 1. LanguageGenerate: Generate Java byte code for execution.

== JDBC Hookup ==

=== !java.sql.Statement ===

For the lifetime of the execution, either until the ResultSet is closed, or the executeUpdate()
call returns the Statement has a one-to-one relationship with an single use Activation. Once
the statement is complete the activation will be closed.

=== java.sql.PreparedStatement & CallableStatement ===

The application's JDBC !PreparedStatement or !CallableStatement has a one-to-one relationship
with an Activation.
The Activation maintains the state of the execution including parameters and linkage to the
shared statement plan.

== Execution ==

please fill in

== Other info ==

http://db.apache.org/derby/binaries/ApacheDerbyInternals_1_1.pdf Derby internals presentation

View raw message