|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ASTCommitStatement.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 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 | 0 |
public ASTCommitStatement(int id) { |
| 10 | 0 |
super(id);
|
| 11 |
} |
|
| 12 |
|
|
| 13 | 0 |
public ASTCommitStatement( MobisnapSQL p, int i) { |
| 14 | 0 |
super( p, i);
|
| 15 | 0 |
id = i; |
| 16 |
} |
|
| 17 |
|
|
| 18 |
/** Accept the visitor. **/
|
|
| 19 | 0 |
public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
|
| 20 | 0 |
return visitor.visit(this, data); |
| 21 |
} |
|
| 22 |
|
|
| 23 | 0 |
public void process( int msql_type) throws Exception { |
| 24 | 0 |
MobisnapSQL.transaction.commit(); |
| 25 | 0 |
throw new CommitException(); |
| 26 |
} |
|
| 27 |
|
|
| 28 |
} |
|
| 29 |
|
|
||||||||||