1 /* JJT: 0.2.2 */ 2 3 package mobisnap.mobile_trx; 4 5 /*** 6 * Implements COMMIT statement 7 */ 8 public class ASTCommitStatement extends mobisnap.mobile_trx.SimpleNode { 9 public ASTCommitStatement(int id) { 10 super(id); 11 } 12 13 public ASTCommitStatement( MobisnapSQL p, int i) { 14 super( p, i); 15 id = i; 16 } 17 18 /*** Accept the visitor. **/ 19 public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) { 20 return visitor.visit(this, data); 21 } 22 23 public void process( int msql_type) throws Exception { 24 MobisnapSQL.transaction.commit(); 25 throw new CommitException(); 26 } 27 28 }

This page was automatically generated by Maven