You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/11/10 18:36:59 UTC
svn commit: r473396 -
/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstantActionActivation.java
Author: djd
Date: Fri Nov 10 09:36:57 2006
New Revision: 473396
URL: http://svn.apache.org/viewvc?view=rev&rev=473396
Log:
Add some comments to ConstantActionActivation to inform how the activation gets
hooked up to the ConstantAction.
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstantActionActivation.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstantActionActivation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstantActionActivation.java?view=diff&rev=473396&r1=473395&r2=473396
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstantActionActivation.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstantActionActivation.java Fri Nov 10 09:36:57 2006
@@ -31,6 +31,13 @@
A pre-compiled activation that supports a single ResultSet with
a single constant action. All the execution logic is contained
in the constant action.
+ <P>
+ At compile time for DDL statements this class will be picked
+ as the implementation of Activation. The language PreparedStatement
+ will contain the ConstantAction created at compiled time.
+ At execute time this class then fetches a language ResultSet using
+ ResultSetFactory.getDDLResultSet and executing the ResultSet
+ will invoke the execute on the ConstantAction.
*/
public final class ConstantActionActivation extends BaseActivation