class TransactionServer implements DataSourceConfigureConstants {

    public void commit(String transactionId) throws SQLException {
       DalTransaction transaction = transactionMap.get(transactionId);
        
        if(transaction == null) {
            throw new SQLException("calling endTransaction with empty ConnectionCache");
        }

        try {
            transaction.endTransaction(0);//always 0
        }finally{
            transactionMap.remove(transactionId);
        }
    }

    public  TransactionServer(String hostAddress, String workId);

}