org.squashtest.csp.h2.triggers
Class TCLNAfterInsert

java.lang.Object
  extended by org.h2.tools.TriggerAdapter
      extended by org.squashtest.csp.h2.triggers.TCLNAfterInsert
All Implemented Interfaces:
org.h2.api.Trigger

public class TCLNAfterInsert
extends org.h2.tools.TriggerAdapter

Triggered after a new TestCaseLibraryNode had been inserted. It will insert into the relationship closure table the self-reference (the distance of a node with itself is always 0).

Author:
bsiri

Field Summary
 
Fields inherited from class org.h2.tools.TriggerAdapter
before, schemaName, tableName, triggerName, type
 
Fields inherited from interface org.h2.api.Trigger
DELETE, INSERT, SELECT, UPDATE
 
Constructor Summary
TCLNAfterInsert()
           
 
Method Summary
 void fire(Connection conn, ResultSet oldRow, ResultSet newRow)
           
 
Methods inherited from class org.h2.tools.TriggerAdapter
close, fire, init, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCLNAfterInsert

public TCLNAfterInsert()
Method Detail

fire

public void fire(Connection conn,
                 ResultSet oldRow,
                 ResultSet newRow)
          throws SQLException
Specified by:
fire in class org.h2.tools.TriggerAdapter
Throws:
SQLException


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.