1 21 22 package org.apache.derby.impl.tools.ij; 23 24 25 import java.sql.SQLException ; 26 import java.sql.Connection ; 27 28 33 interface xaAbstractHelper 34 { 35 36 void XADataSourceStatement(ij parser, Token dbname, Token shut, String create) throws SQLException ; 37 void XAConnectStatement(ij parser, Token user, Token pass, String id) throws SQLException ; 38 void XADisconnectStatement(ij parser, String n) throws SQLException ; 39 Connection XAGetConnectionStatement(ij parser, String n) throws SQLException ; 40 void CommitStatement(ij parser, Token onePhase, Token twoPhase, int xid) throws SQLException ; 41 void EndStatement(ij parser, int flag, int xid) throws SQLException ; 42 void ForgetStatement(ij parser, int xid) throws SQLException ; 43 void PrepareStatement(ij parser, int xid) throws SQLException ; 44 ijResult RecoverStatement(ij parser, int flag) throws SQLException ; 45 void RollbackStatement(ij parser, int xid) throws SQLException ; 46 void StartStatement(ij parser, int flag, int xid) throws SQLException ; 47 Connection DataSourceStatement(ij parser, Token dbname, Token protocol, 48 Token userT, Token passT, String id) throws SQLException ; 49 void CPDataSourceStatement(ij parser, Token dbname, Token protocol) throws SQLException ; 50 void CPConnectStatement(ij parser, Token userT, Token passT, String n) throws SQLException ; 51 Connection CPGetConnectionStatement(ij parser, String n) throws SQLException ; 52 void CPDisconnectStatement(ij parser, String n) throws SQLException ; 53 void setFramework(String framework); 54 55 } 56 | Popular Tags |